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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007791/0.000779, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008072/0.0008073, allocations: 178.4 kB / 16.92 MB, free: 6.652 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003764, allocations: 16 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8148, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05625/0.8711, allocations: 59.75 MB / 1.014 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.8883, allocations: 11.93 MB / 1.026 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.8912, allocations: 51.62 kB / 1.026 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.8937, allocations: 0.5477 MB / 1.026 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.9002, allocations: 1.8 MB / 1.028 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.9037, allocations: 1.073 MB / 1.029 GB, free: 4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005493/0.9092, allocations: 3.9 MB / 1.033 GB, free: 96 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.911, allocations: 0.9039 MB / 1.034 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.9139, allocations: 1.116 MB / 1.035 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.9156, allocations: 0.8553 MB / 1.036 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.9158, allocations: 40 kB / 1.036 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.9189, allocations: 1.337 MB / 1.037 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.9193, allocations: 218.9 kB / 1.037 GB, free: 11.58 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.9203, allocations: 0.6311 MB / 1.038 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.9229, allocations: 1.687 MB / 1.04 GB, free: 9.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.923, allocations: 0 / 1.04 GB, free: 9.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/0.923, allocations: 0 / 1.04 GB, free: 9.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.923, allocations: 0 / 1.04 GB, free: 9.25 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.003024/0.926, allocations: 1.493 MB / 1.041 GB, free: 7.699 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9261, allocations: 8.031 kB / 1.041 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.9284, allocations: 470.8 kB / 1.041 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.9306, allocations: 1.128 MB / 1.043 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.931, allocations: 129.9 kB / 1.043 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.9312, allocations: 80 kB / 1.043 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.9333, allocations: 1.001 MB / 1.044 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.9333, allocations: 7.938 kB / 1.044 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.9334, allocations: 28 kB / 1.044 GB, free: 4.758 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.9334, allocations: 20 kB / 1.044 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.9358, allocations: 0.9133 MB / 1.045 GB, free: 3.824 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.006996/0.9429, allocations: 4.886 MB / 1.049 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.9465, allocations: 0.8975 MB / 1.05 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/0.9474, allocations: 328.5 kB / 1.051 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006983/0.9481, allocations: 0.9064 MB / 1.051 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.9481, allocations: 30.56 kB / 1.052 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.9481, allocations: 0 / 1.052 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.007922/0.956, allocations: 1.957 MB / 1.053 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.9561, allocations: 59.41 kB / 1.053 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.9578, allocations: 1.055 MB / 1.055 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.125e-05/0.9579, allocations: 37.7 kB / 1.055 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.9584, allocations: 0.5274 MB / 1.055 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.9585, allocations: 149.8 kB / 1.055 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.9586, allocations: 49.69 kB / 1.055 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9588, allocations: 330 kB / 1.056 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.9597, allocations: 320.9 kB / 1.056 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.9608, allocations: 0.5297 MB / 1.056 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.9626, allocations: 0.7279 MB / 1.057 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9626, allocations: 0 / 1.057 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003864/0.9664, allocations: 1.212 MB / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.9666, allocations: 221.2 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9666, allocations: 7.938 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.9679, allocations: 336.6 kB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.9685, allocations: 127.8 kB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.9702, allocations: 0.9479 MB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9717, allocations: 187.3 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.9718, allocations: 31.98 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.9718, allocations: 5.875 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003479/0.9753, allocations: 1.058 MB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.9753, allocations: 7.938 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.9765, allocations: 321.1 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.9771, allocations: 127.8 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.9787, allocations: 0.9393 MB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.9801, allocations: 175.3 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.9802, allocations: 31.98 kB / 1.063 GB, free: 428 kB / 0.8106 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.0006225/0.9808, allocations: 352.9 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.9811, allocations: 106.9 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.9836, allocations: 0.9846 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.9836, allocations: 4 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9836, allocations: 7.938 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.9837, allocations: 3.984 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/0.9894, allocations: 2.264 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.9894, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.9897, allocations: 71.89 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.991, allocations: 316.9 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.991, allocations: 16 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.9928, allocations: 0.9755 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9928, allocations: 12.06 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.9968, allocations: 1.257 MB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/0.9975, allocations: 279.5 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.9976, allocations: 8 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/0.9986, allocations: 115.8 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.9987, allocations: 39.83 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.9988, allocations: 23.98 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001327/1, allocations: 0.7469 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/1, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001696/1.002, allocations: 0.5574 MB / 1.071 GB, free: 8.09 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.0008709/1.003, allocations: 378.5 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003526/1.006, allocations: 1.168 MB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.006, allocations: 7.938 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/1.007, allocations: 362.5 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/1.01, allocations: 0.5026 MB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/1.017, allocations: 2.582 MB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/1.017, allocations: 1.054 MB / 1.077 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/1.018, allocations: 79.42 kB / 1.077 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of SimCode: time 1.172e-06/1.018, allocations: 0 / 1.077 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of Templates: time 0.03844/1.056, allocations: 23.64 MB / 1.1 GB, free: 10.39 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/jenkins1/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