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.001356/0.001356, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001616/0.001616, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.071/3.071, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_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.001957/0.001957, allocations: 68.33 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01458/0.3464, allocations: 10.69 MB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009708/0.3561, allocations: 5.638 MB / 1.343 GB, free: 1.102 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.357, allocations: 71.31 kB / 1.343 GB, free: 1.031 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.3613, allocations: 1.721 MB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.364, allocations: 1.186 MB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.3659, allocations: 0.8138 MB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.3683, allocations: 2.127 MB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.3696, allocations: 1.03 MB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.3707, allocations: 0.8875 MB / 1.35 GB, free: 9.219 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.3719, allocations: 0.961 MB / 1.351 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.3721, allocations: 116 kB / 1.351 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.3739, allocations: 1.064 MB / 1.352 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.3745, allocations: 0.5452 MB / 1.353 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007207/0.3752, allocations: 0.6452 MB / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.3782, allocations: 2.448 MB / 1.356 GB, free: 3.422 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3782, allocations: 4 kB / 1.356 GB, free: 3.418 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3782, allocations: 0 / 1.356 GB, free: 3.418 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.3783, allocations: 0 / 1.356 GB, free: 3.418 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.003074/0.3813, allocations: 1.848 MB / 1.358 GB, free: 1.527 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3814, allocations: 8.031 kB / 1.358 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.441e-05/0.3814, allocations: 38.73 kB / 1.358 GB, free: 1.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.3817, allocations: 211.4 kB / 1.358 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.386, allocations: 0.6787 MB / 1.359 GB, free: 0.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.3879, allocations: 0.9214 MB / 1.359 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.388, allocations: 94.91 kB / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.3882, allocations: 124.3 kB / 1.36 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.3917, allocations: 2.415 MB / 1.362 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.3917, allocations: 15.83 kB / 1.362 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.3919, allocations: 59.97 kB / 1.362 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/0.3921, allocations: 166.3 kB / 1.362 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.395, allocations: 1.871 MB / 1.364 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.4061, allocations: 9.405 MB / 1.373 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.4104, allocations: 1.874 MB / 1.375 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.4112, allocations: 0.5503 MB / 1.376 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.4113, allocations: 24.98 kB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.4114, allocations: 43.5 kB / 1.376 GB, free: 14.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.437e-06/0.4114, allocations: 0 / 1.376 GB, free: 14.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.005932/0.4173, allocations: 3.133 MB / 1.379 GB, free: 11.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4174, allocations: 64.34 kB / 1.379 GB, free: 11.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4184, allocations: 0.9167 MB / 1.38 GB, free: 10.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.4185, allocations: 45.7 kB / 1.38 GB, free: 10.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/0.4191, allocations: 0.7533 MB / 1.381 GB, free: 9.426 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.4194, allocations: 404.6 kB / 1.381 GB, free: 9.027 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.4198, allocations: 295.3 kB / 1.381 GB, free: 8.734 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.42, allocations: 305.1 kB / 1.381 GB, free: 8.434 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.4209, allocations: 0.609 MB / 1.382 GB, free: 7.824 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.4223, allocations: 1.113 MB / 1.383 GB, free: 6.496 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4248, allocations: 1.828 MB / 1.385 GB, free: 4.445 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.4249, allocations: 4 kB / 1.385 GB, free: 4.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003628/0.4285, allocations: 2.105 MB / 1.387 GB, free: 2.309 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4285, allocations: 12 kB / 1.387 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.4285, allocations: 16 kB / 1.387 GB, free: 2.281 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008403/0.4294, allocations: 262.7 kB / 1.387 GB, free: 2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4306, allocations: 371.4 kB / 1.388 GB, free: 1.637 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/0.4402, allocations: 10.74 MB / 1.398 GB, free: 5.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.4414, allocations: 127.8 kB / 1.398 GB, free: 5.855 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4415, allocations: 71.98 kB / 1.398 GB, free: 5.785 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.000714/0.4422, allocations: 405.4 kB / 1.399 GB, free: 5.379 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.4424, allocations: 135.2 kB / 1.399 GB, free: 5.246 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.4453, allocations: 1.673 MB / 1.4 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4453, allocations: 15.98 kB / 1.4 GB, free: 3.523 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4454, allocations: 4 kB / 1.4 GB, free: 3.52 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4454, allocations: 7.984 kB / 1.4 GB, free: 3.512 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.4505, allocations: 3.12 MB / 1.404 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4505, allocations: 4 kB / 1.404 GB, free: 252 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008376/0.4513, allocations: 219.6 kB / 1.404 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007702/0.4521, allocations: 238.6 kB / 1.404 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.4522, allocations: 35.97 kB / 1.404 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009496/0.4616, allocations: 10.71 MB / 1.414 GB, free: 4.105 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.4617, allocations: 11.94 kB / 1.414 GB, free: 4.094 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.4645, allocations: 1.804 MB / 1.416 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.4651, allocations: 235 kB / 1.416 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.4653, allocations: 31.92 kB / 1.416 GB, free: 1.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.4659, allocations: 87.88 kB / 1.417 GB, free: 1.836 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.4662, allocations: 104.6 kB / 1.417 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.4662, allocations: 36 kB / 1.417 GB, free: 1.699 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008241/0.4671, allocations: 0.6177 MB / 1.417 GB, free: 1.074 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4671, allocations: 0 / 1.417 GB, free: 1.074 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001397/0.4685, allocations: 400 kB / 1.418 GB, free: 0.6836 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.003113/0.4716, allocations: 2.388 MB / 1.42 GB, free: 14.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003641/0.4752, allocations: 2.402 MB / 1.422 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4752, allocations: 0 / 1.422 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.4773, allocations: 1.587 MB / 1.424 GB, free: 9.984 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.4789, allocations: 368.2 kB / 1.424 GB, free: 9.637 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.4953, allocations: 11.53 MB / 1.436 GB, free: 13.35 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.4962, allocations: 0.7374 MB / 1.436 GB, free: 12.57 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009994/0.4972, allocations: 363.3 kB / 1.437 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/0.4979, allocations: 0.5383 MB / 1.437 GB, free: 11.68 MB / 1.139 GB Notification: Performance of SimCode: time 7.62e-07/0.4979, allocations: 0 / 1.437 GB, free: 11.68 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.6009, allocations: 30.66 MB / 1.467 GB, free: 13.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.11, allocations: 12 kB / 1.467 GB, free: 13.61 MB / 1.17 GB " [Timeout remaining time 286] (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.965819132048637]