Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001312/0.001312, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.468/1.468, 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 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8791, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08272/0.9618, allocations: 75.16 MB / 1.162 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02113/0.983, allocations: 12.75 MB / 1.174 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.987, allocations: 64.84 kB / 1.175 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.9903, allocations: 0.854 MB / 1.175 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009904/1, allocations: 2.597 MB / 1.178 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005297/1.006, allocations: 1.394 MB / 1.179 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007887/1.014, allocations: 4.404 MB / 1.184 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.016, allocations: 1.437 MB / 1.185 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005124/1.022, allocations: 1.668 MB / 1.187 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/1.025, allocations: 1.195 MB / 1.188 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006011/1.025, allocations: 163.3 kB / 1.188 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/1.03, allocations: 1.404 MB / 1.189 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000798/1.031, allocations: 401.5 kB / 1.19 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002423/1.033, allocations: 0.907 MB / 1.191 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005998/1.039, allocations: 2.853 MB / 1.193 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.039, allocations: 0 / 1.193 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.039, allocations: 1 kB / 1.193 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.812e-05/1.039, allocations: 0 / 1.193 GB, free: 10.61 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005747/1.045, allocations: 2.083 MB / 1.195 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/1.045, allocations: 9.375 kB / 1.195 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.046, allocations: 234.5 kB / 1.196 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/1.049, allocations: 1.518 MB / 1.197 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/1.05, allocations: 79.98 kB / 1.197 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/1.05, allocations: 100.9 kB / 1.197 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/1.052, allocations: 1.1 MB / 1.198 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/1.052, allocations: 1.281 kB / 1.198 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.052, allocations: 37.44 kB / 1.198 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/1.052, allocations: 24.06 kB / 1.198 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/1.054, allocations: 0.8876 MB / 1.199 GB, free: 6.488 MB / 0.9356 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.006596/1.061, allocations: 4.912 MB / 1.204 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/1.062, allocations: 0.6262 MB / 1.205 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/1.063, allocations: 346.9 kB / 1.205 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/1.064, allocations: 0.8363 MB / 1.206 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.064, allocations: 38.38 kB / 1.206 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 4.168e-06/1.064, allocations: 3.984 kB / 1.206 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007642/1.071, allocations: 1.674 MB / 1.207 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.072, allocations: 62.06 kB / 1.208 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/1.074, allocations: 1.232 MB / 1.209 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.074, allocations: 38.52 kB / 1.209 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/1.074, allocations: 0.6041 MB / 1.209 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/1.075, allocations: 215.1 kB / 1.21 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/1.075, allocations: 156 kB / 1.21 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.075, allocations: 332.6 kB / 1.21 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/1.076, allocations: 294.2 kB / 1.21 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000913/1.077, allocations: 491.6 kB / 1.211 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/1.078, allocations: 0.7163 MB / 1.212 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.078, allocations: 1.188 kB / 1.212 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005319/1.083, allocations: 1.267 MB / 1.213 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/1.083, allocations: 10.86 kB / 1.213 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.084, allocations: 4.125 kB / 1.213 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006663/1.084, allocations: 132.6 kB / 1.213 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/1.085, allocations: 163.4 kB / 1.213 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009201/1.086, allocations: 0.6944 MB / 1.214 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.087, allocations: 111.9 kB / 1.214 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.087, allocations: 32.02 kB / 1.214 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/1.089, allocations: 0.5563 MB / 1.214 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008684/1.089, allocations: 489.4 kB / 1.215 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001483/1.091, allocations: 0.7137 MB / 1.216 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/1.091, allocations: 1.188 kB / 1.216 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005149/1.096, allocations: 1.26 MB / 1.217 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.096, allocations: 11.98 kB / 1.217 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.096, allocations: 4 kB / 1.217 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/1.097, allocations: 133.2 kB / 1.217 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/1.097, allocations: 167.7 kB / 1.217 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007979/1.098, allocations: 0.7005 MB / 1.218 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.1, allocations: 95.52 kB / 1.218 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/1.1, allocations: 32 kB / 1.218 GB, free: 8.523 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002712/1.1, allocations: 220.1 kB / 1.218 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/1.1, allocations: 146.2 kB / 1.218 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/1.105, allocations: 1.26 MB / 1.219 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004252/1.11, allocations: 1.099 MB / 1.221 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.11, allocations: 0 / 1.221 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/1.11, allocations: 303.2 kB / 1.221 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/1.111, allocations: 15.98 kB / 1.221 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/1.112, allocations: 51.94 kB / 1.221 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.112, allocations: 48.48 kB / 1.221 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002812/1.115, allocations: 0.9521 MB / 1.222 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002709/1.117, allocations: 1.335 MB / 1.223 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006884/1.118, allocations: 324.3 kB / 1.223 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001359/1.119, allocations: 0.8653 MB / 1.224 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of Backend: time 7.62e-07/1.119, allocations: 0 / 1.224 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003985/1.123, allocations: 1.381 MB / 1.226 GB, free: 448 kB / 0.9512 GB Notification: Performance of SimCode: time 0.005963/1.129, allocations: 3.112 MB / 1.229 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.05737/1.187, allocations: 33.52 MB / 1.261 GB, free: 12.11 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches