Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001591/0.001591, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001909/0.001909, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.836/2.836, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",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.002211/0.002211, allocations: 65.47 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407/1.409, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2777/1.687, allocations: 165.8 MB / 1.441 GB, free: 6.098 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007333/1.694, allocations: 2.926 MB / 1.444 GB, free: 3.164 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/1.695, allocations: 19.81 kB / 1.444 GB, free: 3.145 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/1.696, allocations: 214.8 kB / 1.444 GB, free: 2.934 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00358/1.7, allocations: 0.8089 MB / 1.445 GB, free: 2.121 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/1.702, allocations: 345.5 kB / 1.445 GB, free: 1.785 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002263/1.704, allocations: 0.9491 MB / 1.446 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/1.704, allocations: 224.4 kB / 1.446 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/1.706, allocations: 358.6 kB / 1.447 GB, free: 268 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/1.707, allocations: 304.9 kB / 1.447 GB, free: 15.96 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/1.707, allocations: 32 kB / 1.447 GB, free: 15.93 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/1.709, allocations: 0.6858 MB / 1.448 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/1.71, allocations: 139.5 kB / 1.448 GB, free: 15.11 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/1.71, allocations: 215.1 kB / 1.448 GB, free: 14.9 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/1.713, allocations: 0.7475 MB / 1.449 GB, free: 14.15 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/1.713, allocations: 3.984 kB / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.969e-06/1.713, allocations: 0 / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.782e-05/1.713, allocations: 0 / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002358/1.715, allocations: 0.7277 MB / 1.449 GB, free: 13.37 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/1.716, allocations: 12.03 kB / 1.449 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.94e-05/1.716, allocations: 4.562 kB / 1.449 GB, free: 13.35 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/1.716, allocations: 62.53 kB / 1.449 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/1.717, allocations: 139.5 kB / 1.449 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.718, allocations: 426.6 kB / 1.45 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/1.718, allocations: 16.56 kB / 1.45 GB, free: 12.67 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/1.718, allocations: 28 kB / 1.45 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/1.719, allocations: 271.7 kB / 1.45 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/1.719, allocations: 3.938 kB / 1.45 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/1.719, allocations: 12 kB / 1.45 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/1.719, allocations: 12.55 kB / 1.45 GB, free: 12.34 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/1.72, allocations: 202.1 kB / 1.45 GB, free: 12.14 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/1.722, allocations: 1.311 MB / 1.452 GB, free: 10.69 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/1.723, allocations: 190.8 kB / 1.452 GB, free: 10.49 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.723, allocations: 85.17 kB / 1.452 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/1.723, allocations: 3.953 kB / 1.452 GB, free: 10.4 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/1.723, allocations: 34.56 kB / 1.452 GB, free: 10.36 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 2.975e-06/1.723, allocations: 0 / 1.452 GB, free: 10.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001255/1.724, allocations: 405.6 kB / 1.452 GB, free: 9.938 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.725, allocations: 55.41 kB / 1.452 GB, free: 9.871 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/1.725, allocations: 300.5 kB / 1.453 GB, free: 9.57 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/1.725, allocations: 29.7 kB / 1.453 GB, free: 9.535 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/1.725, allocations: 200.2 kB / 1.453 GB, free: 9.336 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.725, allocations: 71.38 kB / 1.453 GB, free: 9.266 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/1.726, allocations: 45.7 kB / 1.453 GB, free: 9.215 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.726, allocations: 342.8 kB / 1.453 GB, free: 8.871 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/1.726, allocations: 63.98 kB / 1.453 GB, free: 8.809 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/1.726, allocations: 114 kB / 1.454 GB, free: 8.676 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/1.726, allocations: 199.4 kB / 1.454 GB, free: 8.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.726, allocations: 0 / 1.454 GB, free: 8.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005126/1.727, allocations: 251.3 kB / 1.454 GB, free: 8.211 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/1.727, allocations: 8 kB / 1.454 GB, free: 8.203 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.727, allocations: 0 / 1.454 GB, free: 8.203 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.727, allocations: 7.984 kB / 1.454 GB, free: 8.195 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/1.727, allocations: 43.92 kB / 1.454 GB, free: 8.152 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.727, allocations: 0 / 1.454 GB, free: 8.152 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/1.728, allocations: 24.06 kB / 1.454 GB, free: 8.129 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/1.728, allocations: 12 kB / 1.454 GB, free: 8.117 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002858/1.728, allocations: 161.7 kB / 1.454 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/1.728, allocations: 39.7 kB / 1.454 GB, free: 7.91 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/1.728, allocations: 35.08 kB / 1.454 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.728, allocations: 4 kB / 1.454 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.728, allocations: 0 / 1.454 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.728, allocations: 0 / 1.454 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/1.729, allocations: 401.3 kB / 1.455 GB, free: 7.422 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.729, allocations: 11.92 kB / 1.455 GB, free: 7.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.729, allocations: 39.92 kB / 1.455 GB, free: 7.371 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/1.729, allocations: 36.83 kB / 1.455 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/1.73, allocations: 8 kB / 1.455 GB, free: 7.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/1.731, allocations: 1.508 MB / 1.456 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.731, allocations: 0 / 1.456 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/1.732, allocations: 409.1 kB / 1.457 GB, free: 5.262 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/1.732, allocations: 129 kB / 1.457 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/1.732, allocations: 15.98 kB / 1.457 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/1.733, allocations: 4 kB / 1.457 GB, free: 5.098 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/1.733, allocations: 11.98 kB / 1.457 GB, free: 5.086 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.733, allocations: 4 kB / 1.457 GB, free: 5.082 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003332/1.733, allocations: 219 kB / 1.457 GB, free: 4.867 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.733, allocations: 0 / 1.457 GB, free: 4.867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006242/1.734, allocations: 111.9 kB / 1.457 GB, free: 4.758 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/1.735, allocations: 0.9455 MB / 1.458 GB, free: 3.785 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004226/1.736, allocations: 153.8 kB / 1.458 GB, free: 3.637 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.736, allocations: 0 / 1.458 GB, free: 3.637 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004762/1.736, allocations: 202.5 kB / 1.458 GB, free: 3.426 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.737, allocations: 196.2 kB / 1.459 GB, free: 3.242 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/1.743, allocations: 2.942 MB / 1.461 GB, free: 196 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/1.743, allocations: 0.796 MB / 1.462 GB, free: 15.37 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000392/1.744, allocations: 63.25 kB / 1.462 GB, free: 15.3 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.744, allocations: 107.4 kB / 1.462 GB, free: 15.2 MB / 1.154 GB Notification: Performance of SimCode: time 2.204e-06/1.744, allocations: 0 / 1.462 GB, free: 15.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/1.791, allocations: 9.082 MB / 1.471 GB, free: 6.344 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.75, allocations: 15.11 kB / 1.471 GB, free: 6.336 MB / 1.154 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 21.650202918972354]