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.001652/0.001652, allocations: 112.3 kB / 16.42 MB, free: 6.5 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.001753/0.001753, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.507/2.507, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 1.055 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8829, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1757/1.059, allocations: 162.4 MB / 1.367 GB, free: 10.69 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004501/1.063, allocations: 2.926 MB / 1.37 GB, free: 7.762 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/1.064, allocations: 19.88 kB / 1.37 GB, free: 7.742 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/1.064, allocations: 202.8 kB / 1.37 GB, free: 7.543 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/1.066, allocations: 0.77 MB / 1.371 GB, free: 6.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007845/1.067, allocations: 342.8 kB / 1.371 GB, free: 6.438 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001209/1.068, allocations: 0.9428 MB / 1.372 GB, free: 5.492 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/1.069, allocations: 250.3 kB / 1.372 GB, free: 5.242 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/1.069, allocations: 350.6 kB / 1.373 GB, free: 4.898 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000878/1.07, allocations: 283.8 kB / 1.373 GB, free: 4.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/1.07, allocations: 36 kB / 1.373 GB, free: 4.59 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/1.072, allocations: 0.6468 MB / 1.374 GB, free: 3.941 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/1.072, allocations: 123.7 kB / 1.374 GB, free: 3.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002483/1.072, allocations: 211 kB / 1.374 GB, free: 3.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/1.074, allocations: 0.7497 MB / 1.375 GB, free: 2.863 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.074, allocations: 4 kB / 1.375 GB, free: 2.859 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.134e-06/1.074, allocations: 0 / 1.375 GB, free: 2.859 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.043e-05/1.074, allocations: 0 / 1.375 GB, free: 2.859 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.001372/1.075, allocations: 0.7166 MB / 1.375 GB, free: 2.094 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.075, allocations: 8.031 kB / 1.375 GB, free: 2.086 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.076, allocations: 151.3 kB / 1.375 GB, free: 1.938 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/1.077, allocations: 410.4 kB / 1.376 GB, free: 1.496 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/1.077, allocations: 28.44 kB / 1.376 GB, free: 1.469 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/1.077, allocations: 24 kB / 1.376 GB, free: 1.445 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/1.077, allocations: 275.7 kB / 1.376 GB, free: 1.164 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.077, allocations: 8 kB / 1.376 GB, free: 1.156 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/1.077, allocations: 4 kB / 1.376 GB, free: 1.152 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/1.077, allocations: 8.562 kB / 1.376 GB, free: 1.145 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/1.078, allocations: 206.1 kB / 1.376 GB, free: 0.9414 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.001774/1.08, allocations: 1.315 MB / 1.378 GB, free: 15.49 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/1.08, allocations: 190.9 kB / 1.378 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/1.08, allocations: 88.83 kB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/1.08, allocations: 4.344 kB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.08, allocations: 34.5 kB / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/1.08, allocations: 0 / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0009498/1.081, allocations: 405.5 kB / 1.378 GB, free: 14.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/1.081, allocations: 55.39 kB / 1.378 GB, free: 14.67 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/1.082, allocations: 300.6 kB / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/1.082, allocations: 33.64 kB / 1.379 GB, free: 14.33 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/1.082, allocations: 192 kB / 1.379 GB, free: 14.14 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/1.082, allocations: 74.94 kB / 1.379 GB, free: 14.06 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/1.082, allocations: 45.62 kB / 1.379 GB, free: 14.01 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.082, allocations: 342.8 kB / 1.379 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/1.082, allocations: 59.97 kB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/1.082, allocations: 122.8 kB / 1.38 GB, free: 13.47 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/1.083, allocations: 195.8 kB / 1.38 GB, free: 13.26 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.083, allocations: 0 / 1.38 GB, free: 13.26 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003856/1.083, allocations: 253.1 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.083, allocations: 7.938 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/1.083, allocations: 4 kB / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.083, allocations: 0 / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/1.083, allocations: 51.91 kB / 1.38 GB, free: 12.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.083, allocations: 4 kB / 1.38 GB, free: 12.94 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/1.084, allocations: 11.84 kB / 1.38 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/1.084, allocations: 12 kB / 1.38 GB, free: 12.91 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.0001595/1.084, allocations: 161.9 kB / 1.38 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/1.084, allocations: 35.56 kB / 1.38 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/1.084, allocations: 43.06 kB / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.084, allocations: 0 / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.084, allocations: 0 / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/1.084, allocations: 128.7 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/1.084, allocations: 7.938 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.084, allocations: 4 kB / 1.38 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/1.084, allocations: 15.97 kB / 1.38 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000591/1.085, allocations: 319.7 kB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004797/1.085, allocations: 456.4 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001138/1.086, allocations: 83.97 kB / 1.381 GB, free: 11.63 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001927/1.086, allocations: 215.1 kB / 1.381 GB, free: 11.42 MB / 1.107 GB Notification: Performance of Backend: time 8.61e-07/1.086, allocations: 4 kB / 1.381 GB, free: 11.42 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009024/1.087, allocations: 323.8 kB / 1.382 GB, free: 11.1 MB / 1.107 GB Notification: Performance of SimCode: time 0.002018/1.089, allocations: 1.312 MB / 1.383 GB, free: 9.742 MB / 1.107 GB Notification: Performance of Templates: time 0.01516/1.104, allocations: 7.704 MB / 1.391 GB, free: 2.121 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