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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 105.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 71.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.221, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2599/1.481, allocations: 162.9 MB / 1.428 GB, free: 14.45 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006567/1.487, allocations: 2.928 MB / 1.431 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/1.489, allocations: 18.34 kB / 1.431 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/1.49, allocations: 214.8 kB / 1.431 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/1.493, allocations: 0.7983 MB / 1.432 GB, free: 11.28 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/1.494, allocations: 342.2 kB / 1.432 GB, free: 11.01 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002134/1.496, allocations: 0.9469 MB / 1.433 GB, free: 10.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/1.496, allocations: 216.1 kB / 1.433 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/1.498, allocations: 351.8 kB / 1.433 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/1.499, allocations: 313.5 kB / 1.434 GB, free: 9.91 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/1.499, allocations: 32.59 kB / 1.434 GB, free: 9.91 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/1.501, allocations: 0.691 MB / 1.434 GB, free: 9.52 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/1.501, allocations: 124.6 kB / 1.435 GB, free: 9.434 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/1.502, allocations: 223.5 kB / 1.435 GB, free: 9.289 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/1.504, allocations: 0.7521 MB / 1.436 GB, free: 8.805 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/1.504, allocations: 0 / 1.436 GB, free: 8.805 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.184e-06/1.504, allocations: 0 / 1.436 GB, free: 8.805 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.252e-05/1.504, allocations: 3.938 kB / 1.436 GB, free: 8.801 MB / 1.123 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.001814/1.506, allocations: 0.7288 MB / 1.436 GB, free: 8.164 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.506, allocations: 13.62 kB / 1.436 GB, free: 8.16 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/1.506, allocations: 54.7 kB / 1.436 GB, free: 8.105 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/1.508, allocations: 135.5 kB / 1.436 GB, free: 8.047 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/1.509, allocations: 429.5 kB / 1.437 GB, free: 7.668 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/1.509, allocations: 14.38 kB / 1.437 GB, free: 7.664 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/1.509, allocations: 27.48 kB / 1.437 GB, free: 7.652 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/1.509, allocations: 283.2 kB / 1.437 GB, free: 7.473 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/1.509, allocations: 4 kB / 1.437 GB, free: 7.469 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/1.509, allocations: 10.66 kB / 1.437 GB, free: 7.461 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/1.509, allocations: 8.812 kB / 1.437 GB, free: 7.457 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/1.51, allocations: 198.5 kB / 1.437 GB, free: 7.363 MB / 1.123 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.002589/1.512, allocations: 1.322 MB / 1.439 GB, free: 6.125 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/1.513, allocations: 181.7 kB / 1.439 GB, free: 6.023 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/1.513, allocations: 84.39 kB / 1.439 GB, free: 5.977 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.513, allocations: 2.781 kB / 1.439 GB, free: 5.977 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.513, allocations: 39.7 kB / 1.439 GB, free: 5.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/1.513, allocations: 0.875 kB / 1.439 GB, free: 5.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001229/1.514, allocations: 402.9 kB / 1.439 GB, free: 5.656 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/1.514, allocations: 52.72 kB / 1.439 GB, free: 5.594 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/1.515, allocations: 300.1 kB / 1.44 GB, free: 5.398 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/1.515, allocations: 31.14 kB / 1.44 GB, free: 5.363 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.515, allocations: 205.4 kB / 1.44 GB, free: 5.176 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.515, allocations: 67.95 kB / 1.44 GB, free: 5.117 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.515, allocations: 50.22 kB / 1.44 GB, free: 5.078 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.516, allocations: 341.2 kB / 1.44 GB, free: 4.742 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/1.516, allocations: 67.28 kB / 1.44 GB, free: 4.707 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/1.516, allocations: 116.2 kB / 1.441 GB, free: 4.609 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/1.516, allocations: 194.6 kB / 1.441 GB, free: 4.473 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.516, allocations: 5.438 kB / 1.441 GB, free: 4.469 MB / 1.123 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005609/1.517, allocations: 248.2 kB / 1.441 GB, free: 4.328 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.517, allocations: 6.562 kB / 1.441 GB, free: 4.328 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.517, allocations: 0.9375 kB / 1.441 GB, free: 4.328 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.517, allocations: 3.531 kB / 1.441 GB, free: 4.328 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/1.517, allocations: 46.7 kB / 1.441 GB, free: 4.316 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.517, allocations: 2.781 kB / 1.441 GB, free: 4.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/1.518, allocations: 17.45 kB / 1.441 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/1.518, allocations: 9.719 kB / 1.441 GB, free: 4.301 MB / 1.123 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.0002973/1.518, allocations: 167.5 kB / 1.441 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/1.518, allocations: 35.78 kB / 1.441 GB, free: 4.129 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.518, allocations: 39.08 kB / 1.441 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.518, allocations: 2.25 kB / 1.441 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.518, allocations: 0 / 1.441 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.518, allocations: 5.266 kB / 1.441 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/1.519, allocations: 403.3 kB / 1.442 GB, free: 3.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.519, allocations: 0 / 1.442 GB, free: 3.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/1.519, allocations: 39.86 kB / 1.442 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/1.519, allocations: 40.83 kB / 1.442 GB, free: 3.598 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/1.519, allocations: 4 kB / 1.442 GB, free: 3.594 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/1.521, allocations: 1.523 MB / 1.443 GB, free: 1.934 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.521, allocations: 0 / 1.443 GB, free: 1.934 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/1.522, allocations: 406.7 kB / 1.444 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/1.522, allocations: 124.9 kB / 1.444 GB, free: 1.379 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/1.522, allocations: 7.938 kB / 1.444 GB, free: 1.371 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/1.522, allocations: 11.98 kB / 1.444 GB, free: 1.359 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/1.522, allocations: 11.98 kB / 1.444 GB, free: 1.348 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.523, allocations: 8 kB / 1.444 GB, free: 1.34 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003149/1.523, allocations: 219 kB / 1.444 GB, free: 1.125 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.523, allocations: 0 / 1.444 GB, free: 1.125 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005483/1.523, allocations: 103.8 kB / 1.444 GB, free: 1.023 MB / 1.123 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.001326/1.525, allocations: 0.9533 MB / 1.445 GB, free: 44 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004464/1.525, allocations: 157.5 kB / 1.445 GB, free: 15.89 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.525, allocations: 0 / 1.445 GB, free: 15.89 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/1.526, allocations: 194.6 kB / 1.445 GB, free: 15.69 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.527, allocations: 194.1 kB / 1.446 GB, free: 15.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/1.532, allocations: 2.937 MB / 1.448 GB, free: 12.46 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/1.532, allocations: 0.8036 MB / 1.449 GB, free: 11.63 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003814/1.533, allocations: 59.23 kB / 1.449 GB, free: 11.57 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/1.533, allocations: 107.4 kB / 1.449 GB, free: 11.46 MB / 1.139 GB Notification: Performance of SimCode: time 1.433e-06/1.533, allocations: 0 / 1.449 GB, free: 11.46 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/1.581, allocations: 9.054 MB / 1.458 GB, free: 2.617 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.44, allocations: 8 kB / 1.458 GB, free: 2.609 MB / 1.139 GB " [Timeout remaining time 286] (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_2/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: 19.688074042089283]