Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0019/0.0019, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001966/0.001966, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.693/2.693, allocations: 476.7 MB / 0.7715 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",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.001953/0.001953, allocations: 63.27 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3236, allocations: 169.9 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01503/0.3386, allocations: 11.61 MB / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009642/0.3483, allocations: 6.027 MB / 1.301 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009742/0.3493, allocations: 79.31 kB / 1.301 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.3536, allocations: 1.799 MB / 1.303 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.3565, allocations: 1.19 MB / 1.304 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.3586, allocations: 0.8234 MB / 1.305 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002758/0.3613, allocations: 2.131 MB / 1.307 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.3626, allocations: 1.029 MB / 1.308 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.3638, allocations: 0.8757 MB / 1.309 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.3651, allocations: 0.961 MB / 1.31 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3653, allocations: 112 kB / 1.31 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.3674, allocations: 1.204 MB / 1.311 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000526/0.368, allocations: 0.5412 MB / 1.312 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.3687, allocations: 0.7888 MB / 1.313 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.3718, allocations: 2.436 MB / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3718, allocations: 3.984 kB / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3718, allocations: 0 / 1.315 GB, free: 12.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.182e-05/0.3718, allocations: 0 / 1.315 GB, free: 12.03 MB / 1.014 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.003363/0.3752, allocations: 1.844 MB / 1.317 GB, free: 10.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3752, allocations: 8.031 kB / 1.317 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.881e-05/0.3753, allocations: 38.73 kB / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002271/0.3755, allocations: 219.4 kB / 1.317 GB, free: 9.867 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00441/0.3799, allocations: 0.6709 MB / 1.318 GB, free: 9.195 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3818, allocations: 0.9174 MB / 1.319 GB, free: 8.254 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.3818, allocations: 98.89 kB / 1.319 GB, free: 8.156 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.382, allocations: 128.3 kB / 1.319 GB, free: 8.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.3852, allocations: 2.207 MB / 1.321 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.3853, allocations: 27.75 kB / 1.321 GB, free: 5.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.3854, allocations: 55.97 kB / 1.321 GB, free: 5.516 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/0.3856, allocations: 166.3 kB / 1.321 GB, free: 5.352 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/0.3885, allocations: 1.867 MB / 1.323 GB, free: 3.477 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.4007, allocations: 11.74 MB / 1.335 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.4048, allocations: 1.882 MB / 1.336 GB, free: 5.059 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/0.4057, allocations: 0.5503 MB / 1.337 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.4058, allocations: 28.91 kB / 1.337 GB, free: 4.477 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.4058, allocations: 51.5 kB / 1.337 GB, free: 4.418 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 2.565e-06/0.4058, allocations: 0 / 1.337 GB, free: 4.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.005833/0.4117, allocations: 3.126 MB / 1.34 GB, free: 1.277 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4117, allocations: 64.41 kB / 1.34 GB, free: 1.199 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.4128, allocations: 0.9205 MB / 1.341 GB, free: 268 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.4129, allocations: 41.7 kB / 1.341 GB, free: 220 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.4134, allocations: 0.7572 MB / 1.342 GB, free: 15.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.4137, allocations: 400.6 kB / 1.342 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.4141, allocations: 291.4 kB / 1.342 GB, free: 14.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.4143, allocations: 305.1 kB / 1.343 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.4152, allocations: 0.6129 MB / 1.343 GB, free: 13.85 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.4165, allocations: 1.106 MB / 1.344 GB, free: 12.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.4189, allocations: 1.835 MB / 1.346 GB, free: 10.47 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4189, allocations: 4 kB / 1.346 GB, free: 10.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003452/0.4223, allocations: 2.105 MB / 1.348 GB, free: 8.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4224, allocations: 16.03 kB / 1.348 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.4224, allocations: 16 kB / 1.348 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/0.4232, allocations: 258.6 kB / 1.349 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.4245, allocations: 371.4 kB / 1.349 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009165/0.4337, allocations: 10.76 MB / 1.359 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4349, allocations: 131.7 kB / 1.359 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.435, allocations: 71.94 kB / 1.36 GB, free: 11.78 MB / 1.061 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.0006533/0.4357, allocations: 401.3 kB / 1.36 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.4359, allocations: 135.2 kB / 1.36 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.4388, allocations: 1.677 MB / 1.362 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4388, allocations: 12 kB / 1.362 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4388, allocations: 8 kB / 1.362 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4388, allocations: 7.969 kB / 1.362 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/0.4439, allocations: 3.259 MB / 1.365 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4439, allocations: 4 kB / 1.365 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.4447, allocations: 223.6 kB / 1.365 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006792/0.4454, allocations: 247.2 kB / 1.365 GB, free: 5.625 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.4455, allocations: 28 kB / 1.365 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008889/0.4544, allocations: 10.75 MB / 1.376 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.4544, allocations: 11.94 kB / 1.376 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.4571, allocations: 1.808 MB / 1.378 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/0.4577, allocations: 235 kB / 1.378 GB, free: 7.766 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.4579, allocations: 24 kB / 1.378 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/0.4586, allocations: 87.88 kB / 1.378 GB, free: 7.656 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.4588, allocations: 104.6 kB / 1.378 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.012e-05/0.4589, allocations: 39.98 kB / 1.378 GB, free: 7.516 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007998/0.4597, allocations: 0.6177 MB / 1.379 GB, free: 6.891 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4597, allocations: 0 / 1.379 GB, free: 6.891 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001331/0.461, allocations: 395.9 kB / 1.379 GB, free: 6.504 MB / 1.076 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.003013/0.464, allocations: 2.381 MB / 1.381 GB, free: 4.004 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.4675, allocations: 2.403 MB / 1.384 GB, free: 1.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4675, allocations: 4 kB / 1.384 GB, free: 1.496 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.4696, allocations: 1.586 MB / 1.385 GB, free: 15.81 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4713, allocations: 366.5 kB / 1.386 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.4872, allocations: 11.54 MB / 1.397 GB, free: 3.172 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009999/0.4882, allocations: 1.335 MB / 1.398 GB, free: 1.805 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009229/0.4891, allocations: 359.3 kB / 1.399 GB, free: 1.449 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.4898, allocations: 0.5383 MB / 1.399 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of SimCode: time 7.71e-07/0.4898, allocations: 0 / 1.399 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.5664, allocations: 29.71 MB / 1.428 GB, free: 3.598 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.12, allocations: 6.5 kB / 1.428 GB, free: 3.594 MB / 1.123 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.96014014998218]