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.001436/0.001436, allocations: 118.5 kB / 16.42 MB, free: 6.504 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.001726/0.001726, allocations: 190.6 kB / 17.35 MB, free: 5.758 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.365/1.365, allocations: 222.9 MB / 241.1 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.655/2.655, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 56.12 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8077/0.809, allocations: 159.1 MB / 1.221 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1762/0.9853, allocations: 162.4 MB / 1.379 GB, free: 15.51 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004939/0.9903, allocations: 2.924 MB / 1.382 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.991, allocations: 15.88 kB / 1.382 GB, free: 12.56 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009381/0.9919, allocations: 214.8 kB / 1.383 GB, free: 12.35 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.9942, allocations: 0.7973 MB / 1.383 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.9951, allocations: 350.6 kB / 1.384 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9966, allocations: 0.9351 MB / 1.385 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.9971, allocations: 254.3 kB / 1.385 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007422/0.9978, allocations: 354.6 kB / 1.385 GB, free: 9.676 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.9989, allocations: 287.1 kB / 1.385 GB, free: 9.398 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.999, allocations: 36 kB / 1.385 GB, free: 9.363 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/1, allocations: 0.6469 MB / 1.386 GB, free: 8.715 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/1.001, allocations: 131.5 kB / 1.386 GB, free: 8.586 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/1.001, allocations: 215 kB / 1.386 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/1.002, allocations: 0.7517 MB / 1.387 GB, free: 7.621 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.002, allocations: 4 kB / 1.387 GB, free: 7.617 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.523e-06/1.002, allocations: 0 / 1.387 GB, free: 7.617 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.004e-05/1.003, allocations: 0 / 1.387 GB, free: 7.617 MB / 1.107 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.001487/1.004, allocations: 0.7166 MB / 1.388 GB, free: 6.852 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.004, allocations: 12.56 kB / 1.388 GB, free: 6.84 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.005, allocations: 139.3 kB / 1.388 GB, free: 6.703 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/1.006, allocations: 410.4 kB / 1.388 GB, free: 6.262 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.006, allocations: 20.56 kB / 1.388 GB, free: 6.242 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/1.006, allocations: 28 kB / 1.388 GB, free: 6.215 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/1.007, allocations: 275.6 kB / 1.389 GB, free: 5.938 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.007, allocations: 3.984 kB / 1.389 GB, free: 5.934 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.007, allocations: 12 kB / 1.389 GB, free: 5.922 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/1.007, allocations: 12.55 kB / 1.389 GB, free: 5.906 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/1.007, allocations: 194.1 kB / 1.389 GB, free: 5.715 MB / 1.107 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.001904/1.009, allocations: 1.315 MB / 1.39 GB, free: 4.258 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/1.009, allocations: 198.8 kB / 1.39 GB, free: 4.055 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/1.009, allocations: 90.89 kB / 1.39 GB, free: 3.965 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/1.009, allocations: 4.344 kB / 1.39 GB, free: 3.961 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.009, allocations: 34.56 kB / 1.39 GB, free: 3.918 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 3.567e-06/1.01, allocations: 4 kB / 1.39 GB, free: 3.914 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001032/1.011, allocations: 399 kB / 1.391 GB, free: 3.496 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/1.011, allocations: 51.41 kB / 1.391 GB, free: 3.434 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/1.011, allocations: 304.6 kB / 1.391 GB, free: 3.129 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/1.011, allocations: 33.69 kB / 1.391 GB, free: 3.09 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.011, allocations: 196 kB / 1.391 GB, free: 2.895 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/1.011, allocations: 66.95 kB / 1.391 GB, free: 2.828 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/1.011, allocations: 49.64 kB / 1.392 GB, free: 2.773 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.012, allocations: 338.8 kB / 1.392 GB, free: 2.434 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/1.012, allocations: 59.98 kB / 1.392 GB, free: 2.375 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/1.012, allocations: 129.8 kB / 1.392 GB, free: 2.227 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/1.012, allocations: 199.8 kB / 1.392 GB, free: 2.012 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.012, allocations: 0 / 1.392 GB, free: 2.012 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004682/1.013, allocations: 251.4 kB / 1.392 GB, free: 1.762 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.013, allocations: 7.938 kB / 1.392 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.013, allocations: 8 kB / 1.392 GB, free: 1.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.013, allocations: 0 / 1.392 GB, free: 1.746 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/1.013, allocations: 43.92 kB / 1.393 GB, free: 1.703 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.013, allocations: 8.188 kB / 1.393 GB, free: 1.695 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/1.013, allocations: 19.83 kB / 1.393 GB, free: 1.676 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.013, allocations: 8 kB / 1.393 GB, free: 1.668 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.0001722/1.013, allocations: 161.8 kB / 1.393 GB, free: 1.5 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/1.013, allocations: 35.56 kB / 1.393 GB, free: 1.465 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/1.014, allocations: 35.08 kB / 1.393 GB, free: 1.426 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.014, allocations: 0 / 1.393 GB, free: 1.426 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.014, allocations: 0 / 1.393 GB, free: 1.426 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.014, allocations: 128.6 kB / 1.393 GB, free: 1.281 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/1.014, allocations: 12 kB / 1.393 GB, free: 1.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/1.014, allocations: 8 kB / 1.393 GB, free: 1.262 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/1.014, allocations: 11.97 kB / 1.393 GB, free: 1.25 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006064/1.015, allocations: 313.7 kB / 1.393 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005137/1.015, allocations: 472.1 kB / 1.394 GB, free: 468 kB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001204/1.015, allocations: 75.98 kB / 1.394 GB, free: 392 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001981/1.016, allocations: 215.1 kB / 1.394 GB, free: 176 kB / 1.107 GB Notification: Performance of Backend: time 6.21e-07/1.016, allocations: 0 / 1.394 GB, free: 176 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009823/1.017, allocations: 320.1 kB / 1.394 GB, free: 15.86 MB / 1.123 GB Notification: Performance of SimCode: time 0.002015/1.019, allocations: 1.319 MB / 1.396 GB, free: 14.5 MB / 1.123 GB Notification: Performance of Templates: time 0.01427/1.033, allocations: 7.583 MB / 1.403 GB, free: 7.004 MB / 1.123 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