Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_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_9_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.001463/0.001463, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001635/0.001635, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8659, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1978/1.064, allocations: 162.4 MB / 1.247 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005114/1.069, allocations: 2.917 MB / 1.25 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007233/1.07, allocations: 15.94 kB / 1.25 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008704/1.071, allocations: 218.8 kB / 1.25 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/1.073, allocations: 0.7972 MB / 1.251 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000956/1.074, allocations: 354.9 kB / 1.251 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001457/1.075, allocations: 0.9429 MB / 1.252 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/1.076, allocations: 262.2 kB / 1.253 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007094/1.077, allocations: 350.6 kB / 1.253 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/1.078, allocations: 286.8 kB / 1.253 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.074e-05/1.078, allocations: 32 kB / 1.253 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/1.079, allocations: 0.6391 MB / 1.254 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/1.079, allocations: 131.6 kB / 1.254 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/1.079, allocations: 215 kB / 1.254 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/1.081, allocations: 0.7497 MB / 1.255 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.081, allocations: 0 / 1.255 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.562e-06/1.081, allocations: 3.938 kB / 1.255 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.613e-05/1.081, allocations: 0 / 1.255 GB, free: 3.473 MB / 0.9825 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.001361/1.082, allocations: 0.7071 MB / 1.256 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.082, allocations: 12.03 kB / 1.256 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/1.083, allocations: 143.3 kB / 1.256 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/1.084, allocations: 418.3 kB / 1.256 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/1.084, allocations: 20.56 kB / 1.256 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/1.084, allocations: 24 kB / 1.256 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/1.085, allocations: 271.7 kB / 1.256 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.085, allocations: 0 / 1.256 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/1.085, allocations: 15.94 kB / 1.256 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/1.085, allocations: 8.562 kB / 1.256 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/1.085, allocations: 202.1 kB / 1.257 GB, free: 1.57 MB / 0.9825 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.001807/1.087, allocations: 1.319 MB / 1.258 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/1.087, allocations: 187 kB / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/1.087, allocations: 92.77 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/1.088, allocations: 7.984 kB / 1.258 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.088, allocations: 38.56 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 3.076e-06/1.088, allocations: 3.984 kB / 1.258 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009533/1.089, allocations: 399.4 kB / 1.259 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.089, allocations: 55.34 kB / 1.259 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/1.089, allocations: 304.5 kB / 1.259 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/1.089, allocations: 29.7 kB / 1.259 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.089, allocations: 196.1 kB / 1.259 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/1.089, allocations: 70.86 kB / 1.259 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/1.089, allocations: 45.7 kB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.089, allocations: 334.8 kB / 1.26 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/1.089, allocations: 71.91 kB / 1.26 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/1.09, allocations: 114 kB / 1.26 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/1.09, allocations: 207.7 kB / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.09, allocations: 0 / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003733/1.09, allocations: 243.4 kB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.09, allocations: 10.44 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.09, allocations: 8.172 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.09, allocations: 4 kB / 1.26 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.091, allocations: 43.92 kB / 1.26 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.091, allocations: 4 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/1.091, allocations: 19.75 kB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.091, allocations: 11.94 kB / 1.26 GB, free: 13.52 MB / 0.9981 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.0001648/1.091, allocations: 161.8 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/1.091, allocations: 31.66 kB / 1.26 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/1.091, allocations: 35.08 kB / 1.261 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.091, allocations: 4 kB / 1.261 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.091, allocations: 4 kB / 1.261 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.091, allocations: 3.984 kB / 1.261 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/1.092, allocations: 405.2 kB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.092, allocations: 0 / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.092, allocations: 31.92 kB / 1.261 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/1.092, allocations: 48.77 kB / 1.261 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.092, allocations: 3.984 kB / 1.261 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/1.093, allocations: 1.519 MB / 1.262 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.093, allocations: 4.062 kB / 1.262 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/1.094, allocations: 394.1 kB / 1.263 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/1.094, allocations: 128.7 kB / 1.263 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/1.094, allocations: 11.94 kB / 1.263 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.094, allocations: 6.734 kB / 1.263 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/1.095, allocations: 19.92 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/1.095, allocations: 8 kB / 1.263 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002269/1.095, allocations: 215.1 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 0 / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004373/1.095, allocations: 99.84 kB / 1.263 GB, free: 10.19 MB / 0.9981 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.0001952/1.095, allocations: 123.7 kB / 1.263 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003079/1.096, allocations: 171.8 kB / 1.264 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.096, allocations: 0 / 1.264 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/1.096, allocations: 198.6 kB / 1.264 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/1.097, allocations: 187.9 kB / 1.264 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/1.098, allocations: 0.7663 MB / 1.265 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/1.099, allocations: 0.7999 MB / 1.265 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/1.099, allocations: 27.44 kB / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.099, allocations: 0 / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of Templates: time 0.008842/1.108, allocations: 5.75 MB / 1.271 GB, free: 2.145 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches