Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Fluid.Chillers.Examples.Carnot_TEva,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.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,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.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.002102/0.002102, allocations: 187 kB / 17.34 MB, free: 5.719 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8723, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06152/0.9339, allocations: 61.21 MB / 1.227 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.9511, allocations: 11.99 MB / 1.239 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.9534, allocations: 59.62 kB / 1.239 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.9555, allocations: 0.6948 MB / 1.24 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.9619, allocations: 2.066 MB / 1.242 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.9655, allocations: 1.221 MB / 1.243 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00534/0.9708, allocations: 3.089 MB / 1.246 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.9729, allocations: 1.096 MB / 1.247 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.9778, allocations: 1.362 MB / 1.248 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.9798, allocations: 0.8906 MB / 1.249 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.9801, allocations: 112 kB / 1.249 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.9833, allocations: 1.45 MB / 1.251 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.9836, allocations: 290.9 kB / 1.251 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.9847, allocations: 0.6958 MB / 1.251 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004459/0.9892, allocations: 2.288 MB / 1.254 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9892, allocations: 7.938 kB / 1.254 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9892, allocations: 0 / 1.254 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.9893, allocations: 0 / 1.254 GB, free: 10.98 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003271/0.9925, allocations: 1.719 MB / 1.255 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9926, allocations: 12.88 kB / 1.255 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.9948, allocations: 410.8 kB / 1.256 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.9972, allocations: 1.163 MB / 1.257 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/0.9973, allocations: 62 kB / 1.257 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.9974, allocations: 83.94 kB / 1.257 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.9994, allocations: 0.9976 MB / 1.258 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.9995, allocations: 3.938 kB / 1.258 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.9996, allocations: 35.94 kB / 1.258 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.9996, allocations: 20 kB / 1.258 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/1.002, allocations: 0.8508 MB / 1.259 GB, free: 5.457 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.007374/1.009, allocations: 5.215 MB / 1.264 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/1.012, allocations: 0.7881 MB / 1.265 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006752/1.013, allocations: 292.7 kB / 1.265 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/1.014, allocations: 0.9024 MB / 1.266 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.014, allocations: 38.56 kB / 1.266 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 3.527e-06/1.014, allocations: 0 / 1.266 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.00681/1.021, allocations: 1.693 MB / 1.268 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/1.021, allocations: 55.41 kB / 1.268 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.023, allocations: 1.08 MB / 1.269 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/1.023, allocations: 41.7 kB / 1.269 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/1.023, allocations: 0.5273 MB / 1.269 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.024, allocations: 149.8 kB / 1.269 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/1.024, allocations: 142 kB / 1.27 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.024, allocations: 337.8 kB / 1.27 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/1.025, allocations: 303.3 kB / 1.27 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.026, allocations: 0.5291 MB / 1.271 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.028, allocations: 0.7133 MB / 1.271 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/1.028, allocations: 0 / 1.271 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002766/1.031, allocations: 1.008 MB / 1.272 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/1.031, allocations: 14.17 kB / 1.272 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.031, allocations: 4 kB / 1.272 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.032, allocations: 305.7 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/1.033, allocations: 131.7 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/1.034, allocations: 0.8977 MB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.036, allocations: 151.2 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.753e-05/1.036, allocations: 31.98 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/1.037, allocations: 0.509 MB / 1.274 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/1.038, allocations: 0.529 MB / 1.275 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001739/1.04, allocations: 0.7022 MB / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/1.04, allocations: 0 / 1.276 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002767/1.043, allocations: 1.008 MB / 1.277 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.043, allocations: 4 kB / 1.277 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.043, allocations: 12.03 kB / 1.277 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.044, allocations: 296.5 kB / 1.277 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/1.044, allocations: 131.8 kB / 1.277 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/1.046, allocations: 0.8981 MB / 1.278 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.047, allocations: 131.6 kB / 1.278 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/1.047, allocations: 31.98 kB / 1.278 GB, free: 0.8125 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002828/1.047, allocations: 216.1 kB / 1.278 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/1.048, allocations: 114.6 kB / 1.278 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/1.05, allocations: 0.9107 MB / 1.279 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.05, allocations: 11.98 kB / 1.279 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/1.05, allocations: 0 / 1.279 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.05, allocations: 4 kB / 1.279 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/1.056, allocations: 2.134 MB / 1.281 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.056, allocations: 7.938 kB / 1.281 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/1.056, allocations: 67.94 kB / 1.281 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009655/1.057, allocations: 292.6 kB / 1.282 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/1.057, allocations: 19.92 kB / 1.282 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/1.059, allocations: 0.923 MB / 1.283 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.059, allocations: 4.062 kB / 1.283 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/1.062, allocations: 1.144 MB / 1.284 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/1.063, allocations: 263.5 kB / 1.284 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.063, allocations: 15.98 kB / 1.284 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/1.064, allocations: 63.92 kB / 1.284 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.064, allocations: 51.7 kB / 1.284 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/1.064, allocations: 23.98 kB / 1.284 GB, free: 10.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001468/1.066, allocations: 0.7512 MB / 1.285 GB, free: 9.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.066, allocations: 0 / 1.285 GB, free: 9.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001921/1.068, allocations: 0.5692 MB / 1.285 GB, free: 9.039 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009247/1.069, allocations: 393.5 kB / 1.286 GB, free: 8.656 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003318/1.072, allocations: 1.121 MB / 1.287 GB, free: 7.535 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.072, allocations: 0 / 1.287 GB, free: 7.535 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008756/1.073, allocations: 338.5 kB / 1.287 GB, free: 7.203 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.075, allocations: 0.5079 MB / 1.288 GB, free: 6.703 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/1.081, allocations: 2.049 MB / 1.29 GB, free: 4.586 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/1.082, allocations: 1.061 MB / 1.291 GB, free: 3.492 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.082, allocations: 83.42 kB / 1.291 GB, free: 3.41 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/1.082, allocations: 0 / 1.291 GB, free: 3.41 MB / 1.014 GB Notification: Performance of Templates: time 0.03499/1.117, allocations: 24.07 MB / 1.314 GB, free: 11.5 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches