Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 189.9 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.651/2.651, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2852, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008594/0.2939, allocations: 6.818 MB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005047/0.2989, allocations: 3.063 MB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.2993, allocations: 27.81 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.3017, allocations: 0.9488 MB / 1.231 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3028, allocations: 0.5051 MB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.3037, allocations: 454.8 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.3049, allocations: 1.228 MB / 1.233 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008622/0.3058, allocations: 0.6622 MB / 1.234 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.3063, allocations: 474.3 kB / 1.234 GB, free: 96 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.307, allocations: 0.5215 MB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3071, allocations: 67.94 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.3078, allocations: 379.3 kB / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.3081, allocations: 319.1 kB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.3086, allocations: 449.7 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3099, allocations: 1.218 MB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3099, allocations: 4 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.31, allocations: 3.938 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.31, allocations: 0 / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001861/0.3118, allocations: 1.191 MB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3119, allocations: 11.97 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.312, allocations: 122.7 kB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.3135, allocations: 240.1 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/0.3145, allocations: 0.612 MB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.3145, allocations: 49.67 kB / 1.239 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3146, allocations: 64.36 kB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.3161, allocations: 1.089 MB / 1.24 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3162, allocations: 4 kB / 1.24 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.3162, allocations: 27.98 kB / 1.24 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.3164, allocations: 89.19 kB / 1.24 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3176, allocations: 0.7504 MB / 1.241 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.323, allocations: 5.886 MB / 1.247 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009822/0.324, allocations: 0.5541 MB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.3244, allocations: 330 kB / 1.248 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.3245, allocations: 4.438 kB / 1.248 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3245, allocations: 39 kB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.3245, allocations: 3.938 kB / 1.248 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.4792/0.8038, allocations: 1.993 MB / 1.25 GB, free: 30.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.8038, allocations: 59.42 kB / 1.25 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/0.8045, allocations: 0.5623 MB / 1.25 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.8045, allocations: 35.67 kB / 1.25 GB, free: 29.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.8047, allocations: 431.1 kB / 1.251 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.8049, allocations: 178.5 kB / 1.251 GB, free: 29.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.8051, allocations: 123 kB / 1.251 GB, free: 29.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8052, allocations: 379.2 kB / 1.251 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.8056, allocations: 273.3 kB / 1.252 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.806, allocations: 497 kB / 1.252 GB, free: 29.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.8069, allocations: 0.8119 MB / 1.253 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.8069, allocations: 1.812 kB / 1.253 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001717/0.8086, allocations: 1.092 MB / 1.254 GB, free: 28.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8087, allocations: 8.125 kB / 1.254 GB, free: 28.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8087, allocations: 6.875 kB / 1.254 GB, free: 28.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.8095, allocations: 283.6 kB / 1.254 GB, free: 28.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.81, allocations: 120.8 kB / 1.254 GB, free: 28.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.8147, allocations: 7.145 MB / 1.261 GB, free: 23.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.8153, allocations: 35.48 kB / 1.261 GB, free: 23.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.8154, allocations: 35.27 kB / 1.261 GB, free: 23.11 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.8157, allocations: 257.3 kB / 1.262 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8158, allocations: 74.12 kB / 1.262 GB, free: 22.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.8172, allocations: 0.8914 MB / 1.262 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8172, allocations: 5.609 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.8172, allocations: 5.062 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.8172, allocations: 2.25 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.8195, allocations: 1.724 MB / 1.264 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8195, allocations: 4.219 kB / 1.264 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.8197, allocations: 61.53 kB / 1.264 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007223/0.8205, allocations: 270.7 kB / 1.265 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.8205, allocations: 10.78 kB / 1.265 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004704/0.8252, allocations: 7.133 MB / 1.271 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8252, allocations: 2.156 kB / 1.271 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.8268, allocations: 0.9923 MB / 1.272 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.8271, allocations: 198.7 kB / 1.273 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.8272, allocations: 14.66 kB / 1.273 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.8275, allocations: 30.36 kB / 1.273 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.8276, allocations: 41.31 kB / 1.273 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.8277, allocations: 15.16 kB / 1.273 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000461/0.8282, allocations: 389.3 kB / 1.273 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.032e-06/0.8282, allocations: 0 / 1.273 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008425/0.829, allocations: 228.3 kB / 1.273 GB, free: 15.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001496/0.8305, allocations: 1.555 MB / 1.275 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.8323, allocations: 1.269 MB / 1.276 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8323, allocations: 0.5625 kB / 1.276 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.8334, allocations: 0.8916 MB / 1.277 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.8344, allocations: 223.9 kB / 1.277 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/0.8422, allocations: 6.405 MB / 1.283 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.8427, allocations: 1.012 MB / 1.284 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004118/0.8431, allocations: 126.4 kB / 1.285 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.8434, allocations: 251.1 kB / 1.285 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8434, allocations: 3.938 kB / 1.285 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.446/2.29, allocations: 17.5 MB / 1.302 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.85/21.14, allocations: 11.03 kB / 1.302 GB, free: 7.074 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches