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.01205/0.01205, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001853/0.001854, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 59.91 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.134, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1956/1.33, allocations: 162.4 MB / 1.366 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005099/1.335, allocations: 2.918 MB / 1.369 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/1.336, allocations: 23.88 kB / 1.369 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008932/1.337, allocations: 206.8 kB / 1.369 GB, free: 7.477 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/1.339, allocations: 0.766 MB / 1.37 GB, free: 6.707 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/1.34, allocations: 347.2 kB / 1.37 GB, free: 6.367 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001541/1.342, allocations: 0.9312 MB / 1.371 GB, free: 5.434 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/1.342, allocations: 254.3 kB / 1.372 GB, free: 5.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007654/1.343, allocations: 350.6 kB / 1.372 GB, free: 4.836 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/1.344, allocations: 294.2 kB / 1.372 GB, free: 4.555 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.766e-05/1.344, allocations: 32 kB / 1.372 GB, free: 4.523 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/1.346, allocations: 0.6391 MB / 1.373 GB, free: 3.883 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/1.346, allocations: 131.6 kB / 1.373 GB, free: 3.754 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/1.346, allocations: 215 kB / 1.373 GB, free: 3.543 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/1.348, allocations: 0.7497 MB / 1.374 GB, free: 2.793 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.348, allocations: 0 / 1.374 GB, free: 2.793 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.255e-06/1.348, allocations: 0 / 1.374 GB, free: 2.793 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.348, allocations: 0 / 1.374 GB, free: 2.793 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.001332/1.349, allocations: 0.7127 MB / 1.375 GB, free: 2.031 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.349, allocations: 12.03 kB / 1.375 GB, free: 2.02 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.35, allocations: 135.4 kB / 1.375 GB, free: 1.887 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006941/1.351, allocations: 418.3 kB / 1.375 GB, free: 1.438 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/1.351, allocations: 20.56 kB / 1.375 GB, free: 1.418 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/1.351, allocations: 27.98 kB / 1.375 GB, free: 1.391 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/1.352, allocations: 279.6 kB / 1.375 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.352, allocations: 0 / 1.375 GB, free: 1.105 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/1.352, allocations: 12 kB / 1.375 GB, free: 1.094 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/1.352, allocations: 8.562 kB / 1.375 GB, free: 1.086 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/1.352, allocations: 194.1 kB / 1.376 GB, free: 0.8945 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.001883/1.354, allocations: 1.326 MB / 1.377 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/1.355, allocations: 194.8 kB / 1.377 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/1.355, allocations: 88.83 kB / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/1.355, allocations: 352 / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/1.355, allocations: 42.56 kB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 9.41e-07/1.355, allocations: 0 / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0009619/1.356, allocations: 398.1 kB / 1.378 GB, free: 14.68 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.356, allocations: 55.41 kB / 1.378 GB, free: 14.61 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/1.356, allocations: 300.6 kB / 1.378 GB, free: 14.31 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.356, allocations: 33.7 kB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.356, allocations: 192.1 kB / 1.378 GB, free: 14.08 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/1.356, allocations: 74.95 kB / 1.378 GB, free: 14 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/1.357, allocations: 41.61 kB / 1.378 GB, free: 13.96 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.357, allocations: 342.8 kB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/1.357, allocations: 67.97 kB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/1.357, allocations: 125.9 kB / 1.379 GB, free: 13.4 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/1.357, allocations: 189.9 kB / 1.379 GB, free: 13.2 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.357, allocations: 4 kB / 1.379 GB, free: 13.19 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003694/1.358, allocations: 251.6 kB / 1.379 GB, free: 12.94 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.358, allocations: 7.938 kB / 1.379 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.358, allocations: 0 / 1.379 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.358, allocations: 4 kB / 1.379 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.358, allocations: 48.17 kB / 1.379 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.358, allocations: 7.938 kB / 1.379 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/1.358, allocations: 11.84 kB / 1.379 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/1.358, allocations: 12 kB / 1.379 GB, free: 12.85 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.0001776/1.358, allocations: 161.8 kB / 1.38 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/1.358, allocations: 35.56 kB / 1.38 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/1.359, allocations: 39.08 kB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1.359, allocations: 3.984 kB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.359, allocations: 0 / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.359, allocations: 4 kB / 1.38 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/1.359, allocations: 405.3 kB / 1.38 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.359, allocations: 0 / 1.38 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/1.359, allocations: 27.98 kB / 1.38 GB, free: 12.13 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/1.36, allocations: 48.75 kB / 1.38 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.36, allocations: 4 kB / 1.38 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/1.361, allocations: 1.512 MB / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.361, allocations: 0 / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/1.362, allocations: 399.8 kB / 1.382 GB, free: 10.01 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/1.362, allocations: 128.7 kB / 1.382 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/1.362, allocations: 15.86 kB / 1.382 GB, free: 9.852 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/1.362, allocations: 8 kB / 1.382 GB, free: 9.844 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/1.362, allocations: 7.984 kB / 1.382 GB, free: 9.836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/1.362, allocations: 12 kB / 1.382 GB, free: 9.824 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002282/1.362, allocations: 223 kB / 1.382 GB, free: 9.605 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.362, allocations: 0 / 1.382 GB, free: 9.605 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004226/1.363, allocations: 99.84 kB / 1.382 GB, free: 9.508 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.0002112/1.363, allocations: 127.2 kB / 1.382 GB, free: 9.375 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003087/1.363, allocations: 157.6 kB / 1.383 GB, free: 9.223 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.363, allocations: 0 / 1.383 GB, free: 9.223 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/1.364, allocations: 202.6 kB / 1.383 GB, free: 9.012 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/1.365, allocations: 199.8 kB / 1.383 GB, free: 8.824 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.366, allocations: 0.7237 MB / 1.384 GB, free: 8.074 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/1.366, allocations: 0.7958 MB / 1.385 GB, free: 7.254 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002116/1.366, allocations: 71.16 kB / 1.385 GB, free: 7.184 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/1.366, allocations: 27.44 kB / 1.385 GB, free: 7.156 MB / 1.107 GB Notification: Performance of SimCode: time 2.31e-07/1.366, allocations: 0 / 1.385 GB, free: 7.156 MB / 1.107 GB Notification: Performance of Templates: time 0.01259/1.379, allocations: 6.147 MB / 1.391 GB, free: 1.117 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