Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008098/0.008098, allocations: 100 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 196.2 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 71.89 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1701/1.227, allocations: 162.4 MB / 1.366 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004392/1.231, allocations: 2.926 MB / 1.369 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/1.232, allocations: 11.94 kB / 1.369 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/1.232, allocations: 202.8 kB / 1.369 GB, free: 7.48 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/1.234, allocations: 0.7816 MB / 1.37 GB, free: 6.695 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/1.235, allocations: 343.1 kB / 1.37 GB, free: 6.359 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001084/1.236, allocations: 0.9387 MB / 1.371 GB, free: 5.422 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/1.237, allocations: 254.3 kB / 1.372 GB, free: 5.168 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/1.237, allocations: 350.6 kB / 1.372 GB, free: 4.824 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007953/1.238, allocations: 283.1 kB / 1.372 GB, free: 4.551 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/1.238, allocations: 36 kB / 1.372 GB, free: 4.516 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/1.239, allocations: 0.643 MB / 1.373 GB, free: 3.871 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/1.239, allocations: 131.6 kB / 1.373 GB, free: 3.742 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/1.239, allocations: 211.1 kB / 1.373 GB, free: 3.535 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009214/1.24, allocations: 0.7536 MB / 1.374 GB, free: 2.781 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/1.24, allocations: 0 / 1.374 GB, free: 2.781 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/1.24, allocations: 0 / 1.374 GB, free: 2.781 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.24, allocations: 0 / 1.374 GB, free: 2.781 MB / 1.092 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.001028/1.241, allocations: 0.7166 MB / 1.375 GB, free: 2.016 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.241, allocations: 12.03 kB / 1.375 GB, free: 2.004 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009965/1.242, allocations: 135.4 kB / 1.375 GB, free: 1.871 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/1.243, allocations: 418.3 kB / 1.375 GB, free: 1.422 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/1.243, allocations: 24.55 kB / 1.375 GB, free: 1.398 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/1.243, allocations: 24 kB / 1.375 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/1.243, allocations: 271.7 kB / 1.375 GB, free: 1.098 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.244, allocations: 7.938 kB / 1.375 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/1.244, allocations: 8 kB / 1.375 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/1.244, allocations: 12.55 kB / 1.375 GB, free: 1.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/1.244, allocations: 202.1 kB / 1.376 GB, free: 0.8711 MB / 1.092 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.001635/1.246, allocations: 1.311 MB / 1.377 GB, free: 15.42 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/1.246, allocations: 194.8 kB / 1.377 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/1.246, allocations: 92.83 kB / 1.377 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/1.246, allocations: 4.344 kB / 1.377 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.246, allocations: 30.56 kB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/1.246, allocations: 3.938 kB / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.000903/1.247, allocations: 404.4 kB / 1.378 GB, free: 14.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.247, allocations: 55.41 kB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.247, allocations: 300.6 kB / 1.378 GB, free: 14.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.247, allocations: 29.69 kB / 1.378 GB, free: 14.26 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/1.248, allocations: 196 kB / 1.378 GB, free: 14.06 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/1.248, allocations: 70.94 kB / 1.378 GB, free: 13.99 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/1.248, allocations: 53.61 kB / 1.378 GB, free: 13.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.248, allocations: 342.8 kB / 1.379 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/1.248, allocations: 55.98 kB / 1.379 GB, free: 13.54 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/1.248, allocations: 118.8 kB / 1.379 GB, free: 13.4 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.248, allocations: 204.3 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.248, allocations: 0 / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003587/1.249, allocations: 251.3 kB / 1.379 GB, free: 12.93 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.249, allocations: 7.938 kB / 1.379 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.249, allocations: 4 kB / 1.379 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.249, allocations: 4 kB / 1.379 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/1.249, allocations: 39.92 kB / 1.379 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/1.249, allocations: 4 kB / 1.379 GB, free: 12.87 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/1.249, allocations: 15.84 kB / 1.379 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/1.249, allocations: 15.92 kB / 1.379 GB, free: 12.84 MB / 1.107 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.0001465/1.249, allocations: 162 kB / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/1.249, allocations: 35.56 kB / 1.38 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/1.25, allocations: 39.08 kB / 1.38 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.25, allocations: 4 kB / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.25, allocations: 0 / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.25, allocations: 0 / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/1.25, allocations: 401.3 kB / 1.38 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.25, allocations: 0 / 1.38 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/1.25, allocations: 35.91 kB / 1.38 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/1.25, allocations: 52.77 kB / 1.38 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/1.251, allocations: 4 kB / 1.38 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/1.252, allocations: 1.512 MB / 1.382 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.252, allocations: 0 / 1.382 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/1.252, allocations: 399.8 kB / 1.382 GB, free: 9.996 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.252, allocations: 128.7 kB / 1.382 GB, free: 9.852 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/1.252, allocations: 16 kB / 1.382 GB, free: 9.836 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/1.253, allocations: 3.938 kB / 1.382 GB, free: 9.832 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/1.253, allocations: 15.98 kB / 1.382 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.253, allocations: 4 kB / 1.382 GB, free: 9.812 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001966/1.253, allocations: 215.1 kB / 1.382 GB, free: 9.602 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.51e-07/1.253, allocations: 0 / 1.382 GB, free: 9.602 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003867/1.253, allocations: 111.8 kB / 1.382 GB, free: 9.492 MB / 1.107 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.0001753/1.254, allocations: 119.2 kB / 1.382 GB, free: 9.367 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002982/1.254, allocations: 161.6 kB / 1.383 GB, free: 9.211 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.254, allocations: 384 / 1.383 GB, free: 9.211 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/1.254, allocations: 198.6 kB / 1.383 GB, free: 9.004 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/1.255, allocations: 201.3 kB / 1.383 GB, free: 8.816 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/1.256, allocations: 0.7237 MB / 1.384 GB, free: 8.066 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/1.257, allocations: 0.8075 MB / 1.385 GB, free: 7.234 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001998/1.257, allocations: 63.25 kB / 1.385 GB, free: 7.172 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/1.257, allocations: 27.44 kB / 1.385 GB, free: 7.145 MB / 1.107 GB Notification: Performance of SimCode: time 3.5e-07/1.257, allocations: 0 / 1.385 GB, free: 7.145 MB / 1.107 GB Notification: Performance of Templates: time 0.01095/1.268, allocations: 6.25 MB / 1.391 GB, free: 0.9961 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches