Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.0009797/0.0009797, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008451/0.008451, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.541/2.541, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 16 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8421, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06084/0.903, allocations: 59.75 MB / 1.013 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.9214, allocations: 11.92 MB / 1.025 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.9243, allocations: 51.69 kB / 1.025 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.9265, allocations: 0.5438 MB / 1.026 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.9334, allocations: 1.811 MB / 1.027 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.9369, allocations: 1.072 MB / 1.028 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006439/0.9433, allocations: 3.902 MB / 1.032 GB, free: 112 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.9453, allocations: 0.8922 MB / 1.033 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.9485, allocations: 1.124 MB / 1.034 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.9501, allocations: 0.8554 MB / 1.035 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.9502, allocations: 40 kB / 1.035 GB, free: 13.16 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.9534, allocations: 1.337 MB / 1.036 GB, free: 11.82 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.9537, allocations: 210.9 kB / 1.037 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008845/0.9546, allocations: 0.6389 MB / 1.037 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.9583, allocations: 2.188 MB / 1.039 GB, free: 8.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9584, allocations: 0 / 1.039 GB, free: 8.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9584, allocations: 0 / 1.039 GB, free: 8.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.9584, allocations: 0 / 1.039 GB, free: 8.77 MB / 0.795 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.003087/0.9615, allocations: 1.481 MB / 1.041 GB, free: 7.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9615, allocations: 8.031 kB / 1.041 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.9639, allocations: 478.8 kB / 1.041 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.9663, allocations: 1.136 MB / 1.042 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.9667, allocations: 125.9 kB / 1.042 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9669, allocations: 80 kB / 1.043 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.9691, allocations: 1.005 MB / 1.044 GB, free: 4.309 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.9691, allocations: 4 kB / 1.044 GB, free: 4.305 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.9692, allocations: 28 kB / 1.044 GB, free: 4.277 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.9692, allocations: 23.94 kB / 1.044 GB, free: 4.254 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.9717, allocations: 0.9172 MB / 1.044 GB, free: 3.336 MB / 0.795 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.008778/0.9805, allocations: 4.87 MB / 1.049 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.984, allocations: 0.9023 MB / 1.05 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.9848, allocations: 320.6 kB / 1.05 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.9856, allocations: 0.9103 MB / 1.051 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.9856, allocations: 38.5 kB / 1.051 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 3.146e-06/0.9857, allocations: 0 / 1.051 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.00795/0.9936, allocations: 1.954 MB / 1.053 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.9937, allocations: 55.41 kB / 1.053 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.9956, allocations: 1.055 MB / 1.054 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.39e-05/0.9957, allocations: 37.7 kB / 1.054 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005856/0.9963, allocations: 0.5274 MB / 1.055 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.9965, allocations: 153.7 kB / 1.055 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.9966, allocations: 49.69 kB / 1.055 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.9968, allocations: 330 kB / 1.055 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009189/0.9977, allocations: 320.9 kB / 1.056 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.9988, allocations: 0.5258 MB / 1.056 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/1.001, allocations: 0.7318 MB / 1.057 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.001, allocations: 0 / 1.057 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003988/1.005, allocations: 1.215 MB / 1.058 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/1.005, allocations: 217.5 kB / 1.058 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.005, allocations: 8 kB / 1.058 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/1.006, allocations: 343.1 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/1.007, allocations: 123.9 kB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/1.009, allocations: 0.9425 MB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.01, allocations: 191.3 kB / 1.06 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/1.01, allocations: 31.98 kB / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.01, allocations: 4 kB / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003461/1.014, allocations: 1.062 MB / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.014, allocations: 4 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.015, allocations: 324.9 kB / 1.061 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/1.015, allocations: 123.8 kB / 1.061 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/1.017, allocations: 0.9479 MB / 1.062 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.018, allocations: 167.3 kB / 1.062 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/1.018, allocations: 31.98 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.000668/1.019, allocations: 345 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.019, allocations: 110.7 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/1.022, allocations: 0.9846 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.022, allocations: 4 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.022, allocations: 11.94 kB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.022, allocations: 3.984 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/1.027, allocations: 2.264 MB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.027, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/1.027, allocations: 67.89 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/1.029, allocations: 326.4 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/1.029, allocations: 15.94 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.03, allocations: 0.9748 MB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.03, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/1.034, allocations: 1.261 MB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/1.035, allocations: 271.5 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.035, allocations: 16 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/1.036, allocations: 115.8 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/1.036, allocations: 39.83 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/1.036, allocations: 23.98 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001204/1.037, allocations: 0.7469 MB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.037, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001601/1.039, allocations: 0.5574 MB / 1.07 GB, free: 7.617 MB / 0.8262 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.0008073/1.04, allocations: 388.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003289/1.043, allocations: 1.161 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.043, allocations: 8.125 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009048/1.044, allocations: 362.4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.047, allocations: 0.5066 MB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/1.052, allocations: 2.542 MB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/1.053, allocations: 1.065 MB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001004/1.054, allocations: 212.7 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/1.054, allocations: 75.42 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/1.054, allocations: 0 / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.04217/1.097, allocations: 23.82 MB / 1.1 GB, free: 9.684 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches