Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 64.48 kB / 1.153 GB, free: 25.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 176.1 MB / 1.325 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01556/0.3596, allocations: 10.69 MB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3703, allocations: 5.653 MB / 1.341 GB, free: 2.145 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3715, allocations: 71.31 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.3764, allocations: 1.73 MB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.3797, allocations: 1.186 MB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.3819, allocations: 0.8096 MB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.3849, allocations: 2.131 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.3865, allocations: 1.018 MB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.388, allocations: 0.8835 MB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.3896, allocations: 0.8986 MB / 1.35 GB, free: 9.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.39, allocations: 115.9 kB / 1.35 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.3922, allocations: 1.056 MB / 1.351 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.3929, allocations: 0.5491 MB / 1.351 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.3939, allocations: 0.6491 MB / 1.352 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003658/0.3976, allocations: 2.448 MB / 1.354 GB, free: 4.531 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3976, allocations: 4 kB / 1.354 GB, free: 4.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3976, allocations: 0 / 1.354 GB, free: 4.527 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.28e-05/0.3976, allocations: 0 / 1.354 GB, free: 4.527 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00362/0.4013, allocations: 1.846 MB / 1.356 GB, free: 2.641 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4013, allocations: 8.031 kB / 1.356 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/0.4016, allocations: 219.4 kB / 1.356 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.4061, allocations: 0.667 MB / 1.357 GB, free: 1.738 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.4084, allocations: 0.9213 MB / 1.358 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.4085, allocations: 98.89 kB / 1.358 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.4088, allocations: 132.3 kB / 1.358 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.4127, allocations: 2.408 MB / 1.36 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/0.4127, allocations: 15.83 kB / 1.36 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.4129, allocations: 63.97 kB / 1.36 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/0.4131, allocations: 166.3 kB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.4164, allocations: 1.855 MB / 1.362 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.4289, allocations: 9.421 MB / 1.372 GB, free: 2.055 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.4332, allocations: 1.868 MB / 1.373 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008931/0.4341, allocations: 0.5503 MB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.4343, allocations: 28.98 kB / 1.374 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4343, allocations: 43.5 kB / 1.374 GB, free: 15.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.527e-06/0.4343, allocations: 0 / 1.374 GB, free: 15.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006309/0.4406, allocations: 3.133 MB / 1.377 GB, free: 12.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.4407, allocations: 60.41 kB / 1.377 GB, free: 12.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.442, allocations: 0.9475 MB / 1.378 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.4421, allocations: 45.7 kB / 1.378 GB, free: 11.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/0.4427, allocations: 0.7533 MB / 1.379 GB, free: 10.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.4431, allocations: 404.5 kB / 1.379 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.4435, allocations: 291.4 kB / 1.38 GB, free: 9.859 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4436, allocations: 305.1 kB / 1.38 GB, free: 9.559 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009938/0.4446, allocations: 0.6129 MB / 1.38 GB, free: 8.945 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4461, allocations: 1.109 MB / 1.382 GB, free: 7.621 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.4486, allocations: 1.824 MB / 1.383 GB, free: 5.578 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.4486, allocations: 4 kB / 1.383 GB, free: 5.574 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003704/0.4523, allocations: 2.112 MB / 1.385 GB, free: 3.434 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.4523, allocations: 15.98 kB / 1.385 GB, free: 3.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.4524, allocations: 16.91 kB / 1.385 GB, free: 3.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008421/0.4532, allocations: 254.6 kB / 1.386 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.4545, allocations: 375.4 kB / 1.386 GB, free: 2.762 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009711/0.4642, allocations: 10.73 MB / 1.397 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.4655, allocations: 131.8 kB / 1.397 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.4657, allocations: 68 kB / 1.397 GB, free: 6.914 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007692/0.4665, allocations: 405.4 kB / 1.397 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.4668, allocations: 135.2 kB / 1.397 GB, free: 6.375 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.4699, allocations: 1.677 MB / 1.399 GB, free: 4.66 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.4699, allocations: 8 kB / 1.399 GB, free: 4.652 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4699, allocations: 4 kB / 1.399 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.4699, allocations: 7.969 kB / 1.399 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/0.4757, allocations: 3.123 MB / 1.402 GB, free: 1.379 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.4757, allocations: 4 kB / 1.402 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008682/0.4766, allocations: 223.7 kB / 1.402 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007389/0.4773, allocations: 234.7 kB / 1.402 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/0.4774, allocations: 35.88 kB / 1.402 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009541/0.487, allocations: 10.72 MB / 1.413 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.487, allocations: 11.94 kB / 1.413 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.4901, allocations: 1.804 MB / 1.415 GB, free: 3.301 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007944/0.4909, allocations: 231 kB / 1.415 GB, free: 3.074 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.4912, allocations: 31.92 kB / 1.415 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.492, allocations: 87.88 kB / 1.415 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.4922, allocations: 108.6 kB / 1.415 GB, free: 2.852 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.4923, allocations: 32 kB / 1.415 GB, free: 2.82 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009592/0.4933, allocations: 0.6293 MB / 1.416 GB, free: 2.184 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.4933, allocations: 0 / 1.416 GB, free: 2.184 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001536/0.4948, allocations: 388 kB / 1.416 GB, free: 1.805 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003327/0.4981, allocations: 2.395 MB / 1.418 GB, free: 15.29 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003894/0.502, allocations: 2.402 MB / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.502, allocations: 0 / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.5043, allocations: 1.583 MB / 1.422 GB, free: 11.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.5061, allocations: 366.2 kB / 1.423 GB, free: 10.76 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.5245, allocations: 11.53 MB / 1.434 GB, free: 14.48 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.5257, allocations: 0.7413 MB / 1.435 GB, free: 13.7 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001083/0.5268, allocations: 351.3 kB / 1.435 GB, free: 13.36 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007973/0.5276, allocations: 0.5344 MB / 1.436 GB, free: 12.82 MB / 1.139 GB Notification: Performance of SimCode: time 1.002e-06/0.5276, allocations: 8 kB / 1.436 GB, free: 12.82 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/0.6467, allocations: 30.53 MB / 1.465 GB, free: 14.84 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.2, allocations: 20.14 kB / 1.465 GB, free: 14.82 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.00818690378219]