Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001061/0.001061, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001533/0.001533, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 12 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9593, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2015/1.161, allocations: 147.5 MB / 1.166 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006551/1.168, allocations: 2.732 MB / 1.169 GB, free: 9.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008405/1.168, allocations: 11.94 kB / 1.169 GB, free: 9.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/1.169, allocations: 139.2 kB / 1.169 GB, free: 9.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002585/1.172, allocations: 0.5714 MB / 1.17 GB, free: 8.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/1.173, allocations: 230.1 kB / 1.17 GB, free: 8.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002085/1.175, allocations: 1.056 MB / 1.171 GB, free: 7.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000603/1.176, allocations: 189.5 kB / 1.171 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009825/1.177, allocations: 286.7 kB / 1.171 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/1.178, allocations: 259 kB / 1.172 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/1.178, allocations: 12 kB / 1.172 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/1.179, allocations: 319.2 kB / 1.172 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/1.179, allocations: 103.7 kB / 1.172 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/1.179, allocations: 101.5 kB / 1.172 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009814/1.18, allocations: 0.5065 MB / 1.173 GB, free: 5.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.181, allocations: 0 / 1.173 GB, free: 5.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.805e-06/1.181, allocations: 0 / 1.173 GB, free: 5.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.152e-05/1.181, allocations: 0 / 1.173 GB, free: 5.668 MB / 0.92 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.001737/1.182, allocations: 0.6505 MB / 1.173 GB, free: 4.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.182, allocations: 12.03 kB / 1.173 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.184, allocations: 135.4 kB / 1.173 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/1.185, allocations: 394.6 kB / 1.174 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.185, allocations: 20.56 kB / 1.174 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/1.185, allocations: 24 kB / 1.174 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/1.186, allocations: 279.6 kB / 1.174 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.186, allocations: 0 / 1.174 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/1.186, allocations: 15.98 kB / 1.174 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.186, allocations: 12.52 kB / 1.174 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/1.186, allocations: 190.1 kB / 1.174 GB, free: 3.855 MB / 0.92 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.00253/1.189, allocations: 1.326 MB / 1.176 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/1.189, allocations: 182.9 kB / 1.176 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/1.189, allocations: 92.81 kB / 1.176 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/1.19, allocations: 4 kB / 1.176 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.19, allocations: 38.91 kB / 1.176 GB, free: 2.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 2.003e-06/1.19, allocations: 0 / 1.176 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001323/1.191, allocations: 408.7 kB / 1.176 GB, free: 1.633 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.191, allocations: 51.41 kB / 1.176 GB, free: 1.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/1.192, allocations: 296.6 kB / 1.177 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/1.192, allocations: 33.7 kB / 1.177 GB, free: 1.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.192, allocations: 199.9 kB / 1.177 GB, free: 1.035 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.192, allocations: 63.09 kB / 1.177 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/1.192, allocations: 4 kB / 1.177 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003711/1.192, allocations: 342.8 kB / 1.177 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/1.193, allocations: 63.98 kB / 1.177 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/1.193, allocations: 119.4 kB / 1.177 GB, free: 436 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/1.193, allocations: 89.31 kB / 1.178 GB, free: 348 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.193, allocations: 0 / 1.178 GB, free: 348 kB / 0.92 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005142/1.193, allocations: 246.8 kB / 1.178 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.193, allocations: 6.188 kB / 1.178 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.194, allocations: 0 / 1.178 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.194, allocations: 4 kB / 1.178 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/1.194, allocations: 43.92 kB / 1.178 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.194, allocations: 4.188 kB / 1.178 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/1.194, allocations: 31.77 kB / 1.178 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/1.194, allocations: 12.08 kB / 1.178 GB, free: 15.99 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/1.194, allocations: 165.8 kB / 1.178 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/1.195, allocations: 35.58 kB / 1.178 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/1.195, allocations: 35.08 kB / 1.178 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.195, allocations: 0 / 1.178 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.195, allocations: 4 kB / 1.178 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.195, allocations: 4 kB / 1.178 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/1.195, allocations: 405.2 kB / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.195, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/1.196, allocations: 35.88 kB / 1.179 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/1.196, allocations: 44.83 kB / 1.179 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/1.196, allocations: 4 kB / 1.179 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.198, allocations: 1.413 MB / 1.18 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.198, allocations: 4.031 kB / 1.18 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/1.199, allocations: 395.9 kB / 1.18 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/1.199, allocations: 120.8 kB / 1.18 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/1.199, allocations: 11.98 kB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/1.2, allocations: 19.78 kB / 1.181 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/1.2, allocations: 11.98 kB / 1.181 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/1.2, allocations: 4 kB / 1.181 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000311/1.2, allocations: 223 kB / 1.181 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.2, allocations: 3.938 kB / 1.181 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006817/1.201, allocations: 103.8 kB / 1.181 GB, free: 12.75 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002508/1.201, allocations: 111.2 kB / 1.181 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004308/1.201, allocations: 165.8 kB / 1.181 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.201, allocations: 0 / 1.181 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004957/1.202, allocations: 194.6 kB / 1.181 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.203, allocations: 190.6 kB / 1.181 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.205, allocations: 0.9583 MB / 1.182 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/1.206, allocations: 0.7962 MB / 1.183 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004007/1.206, allocations: 63.25 kB / 1.183 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.206, allocations: 23.44 kB / 1.183 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of SimCode: time 7.72e-07/1.206, allocations: 0 / 1.183 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.01518/1.221, allocations: 5.607 MB / 1.189 GB, free: 4.695 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches