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.001428/0.001428, allocations: 107.3 kB / 16.41 MB, free: 6.477 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.001603/0.001603, allocations: 183 kB / 17.34 MB, free: 5.754 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.36/1.36, allocations: 222.9 MB / 241 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.635/2.635, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8847, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1756/1.06, allocations: 162.4 MB / 1.367 GB, free: 10.6 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005062/1.065, allocations: 2.91 MB / 1.37 GB, free: 7.684 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/1.066, allocations: 15.94 kB / 1.37 GB, free: 7.668 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/1.067, allocations: 210.8 kB / 1.37 GB, free: 7.461 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/1.069, allocations: 0.7777 MB / 1.371 GB, free: 6.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/1.07, allocations: 343.2 kB / 1.371 GB, free: 6.344 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001224/1.071, allocations: 0.9386 MB / 1.372 GB, free: 5.406 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/1.071, allocations: 254.3 kB / 1.372 GB, free: 5.152 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/1.072, allocations: 346.6 kB / 1.373 GB, free: 4.812 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008908/1.073, allocations: 285.9 kB / 1.373 GB, free: 4.535 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/1.073, allocations: 36 kB / 1.373 GB, free: 4.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/1.074, allocations: 0.6391 MB / 1.374 GB, free: 3.859 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/1.074, allocations: 135.5 kB / 1.374 GB, free: 3.727 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/1.074, allocations: 211.1 kB / 1.374 GB, free: 3.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009984/1.075, allocations: 0.7497 MB / 1.375 GB, free: 2.77 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.075, allocations: 0 / 1.375 GB, free: 2.77 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.953e-06/1.075, allocations: 0 / 1.375 GB, free: 2.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.287e-06/1.075, allocations: 0 / 1.375 GB, free: 2.77 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.001103/1.076, allocations: 0.7205 MB / 1.375 GB, free: 2 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.077, allocations: 8.031 kB / 1.375 GB, free: 1.992 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.078, allocations: 139.4 kB / 1.375 GB, free: 1.855 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/1.078, allocations: 422.3 kB / 1.376 GB, free: 1.402 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.078, allocations: 20.56 kB / 1.376 GB, free: 1.383 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/1.078, allocations: 28 kB / 1.376 GB, free: 1.355 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/1.079, allocations: 271.7 kB / 1.376 GB, free: 1.078 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.079, allocations: 0 / 1.376 GB, free: 1.078 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/1.079, allocations: 12 kB / 1.376 GB, free: 1.066 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/1.079, allocations: 12.55 kB / 1.376 GB, free: 1.055 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/1.079, allocations: 198.1 kB / 1.376 GB, free: 0.8594 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.001689/1.081, allocations: 1.319 MB / 1.378 GB, free: 15.4 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/1.081, allocations: 194.8 kB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.081, allocations: 88.77 kB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/1.081, allocations: 4.344 kB / 1.378 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/1.081, allocations: 34.56 kB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/1.081, allocations: 4 kB / 1.378 GB, free: 15.06 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0009297/1.082, allocations: 404.3 kB / 1.378 GB, free: 14.64 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/1.082, allocations: 55.41 kB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/1.083, allocations: 300.5 kB / 1.379 GB, free: 14.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/1.083, allocations: 33.7 kB / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/1.083, allocations: 192.1 kB / 1.379 GB, free: 14.04 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/1.083, allocations: 70.94 kB / 1.379 GB, free: 13.97 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/1.083, allocations: 49.61 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.083, allocations: 346.7 kB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/1.083, allocations: 59.98 kB / 1.379 GB, free: 13.51 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.083, allocations: 119.5 kB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/1.084, allocations: 204.3 kB / 1.38 GB, free: 13.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.084, allocations: 0 / 1.38 GB, free: 13.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003431/1.084, allocations: 247.3 kB / 1.38 GB, free: 12.91 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.084, allocations: 11.94 kB / 1.38 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.084, allocations: 0 / 1.38 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.084, allocations: 4 kB / 1.38 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.084, allocations: 43.92 kB / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.084, allocations: 0 / 1.38 GB, free: 12.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/1.085, allocations: 24.02 kB / 1.38 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/1.085, allocations: 8 kB / 1.38 GB, free: 12.82 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.0001536/1.085, allocations: 161.8 kB / 1.38 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/1.085, allocations: 35.56 kB / 1.38 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/1.085, allocations: 35.08 kB / 1.38 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.085, allocations: 4 kB / 1.38 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.085, allocations: 0 / 1.38 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.085, allocations: 0 / 1.38 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/1.085, allocations: 401.3 kB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.085, allocations: 7.984 kB / 1.381 GB, free: 12.13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/1.086, allocations: 35.92 kB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/1.086, allocations: 44.77 kB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.086, allocations: 4 kB / 1.381 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.087, allocations: 1.516 MB / 1.382 GB, free: 10.39 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.087, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/1.088, allocations: 403.9 kB / 1.383 GB, free: 9.973 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.088, allocations: 128.7 kB / 1.383 GB, free: 9.828 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/1.088, allocations: 11.94 kB / 1.383 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/1.088, allocations: 0 / 1.383 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/1.088, allocations: 15.98 kB / 1.383 GB, free: 9.801 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.088, allocations: 4 kB / 1.383 GB, free: 9.797 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002059/1.088, allocations: 223 kB / 1.383 GB, free: 9.578 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.088, allocations: 4 kB / 1.383 GB, free: 9.574 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004022/1.089, allocations: 103.8 kB / 1.383 GB, free: 9.473 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.0001854/1.089, allocations: 115.2 kB / 1.383 GB, free: 9.352 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002863/1.089, allocations: 169.5 kB / 1.383 GB, free: 9.188 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.089, allocations: 0 / 1.383 GB, free: 9.188 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002895/1.09, allocations: 194.6 kB / 1.384 GB, free: 8.984 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/1.09, allocations: 201 kB / 1.384 GB, free: 8.797 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.092, allocations: 0.7605 MB / 1.384 GB, free: 8.004 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/1.092, allocations: 0.8036 MB / 1.385 GB, free: 7.176 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/1.092, allocations: 27.44 kB / 1.385 GB, free: 7.148 MB / 1.107 GB Notification: Performance of SimCode: time 2.21e-07/1.092, allocations: 0 / 1.385 GB, free: 7.148 MB / 1.107 GB Notification: Performance of Templates: time 0.00853/1.101, allocations: 5.755 MB / 1.391 GB, free: 1.441 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches