Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 110.1 kB / 16.37 MB, free: 6.012 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.001204/0.001204, allocations: 194.7 kB / 17.31 MB, free: 5.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.405/1.405, allocations: 222.9 MB / 241 MB, free: 4.219 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.532/2.532, allocations: 390.3 MB / 0.6655 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 0.814 GB, free: 13.53 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7746, allocations: 140.4 MB / 0.9511 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06824/0.8429, allocations: 70.5 MB / 1.02 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02517/0.8681, allocations: 18.93 MB / 1.038 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/0.8711, allocations: 71.56 kB / 1.039 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.8736, allocations: 0.8306 MB / 1.039 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007781/0.8814, allocations: 2.846 MB / 1.042 GB, free: 4.309 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.8858, allocations: 1.648 MB / 1.044 GB, free: 2.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005872/0.8916, allocations: 4.048 MB / 1.048 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.8941, allocations: 1.449 MB / 1.049 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.8984, allocations: 1.774 MB / 1.051 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.9007, allocations: 1.171 MB / 1.052 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005478/0.9012, allocations: 176 kB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.9049, allocations: 1.416 MB / 1.054 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006593/0.9055, allocations: 394.6 kB / 1.054 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.9069, allocations: 0.9216 MB / 1.055 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.9117, allocations: 3.095 MB / 1.058 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.9117, allocations: 4 kB / 1.058 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.265e-06/0.9117, allocations: 0 / 1.058 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.68e-05/0.9118, allocations: 0 / 1.058 GB, free: 4.164 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003965/0.9158, allocations: 2.03 MB / 1.06 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9158, allocations: 8.031 kB / 1.06 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.9181, allocations: 445.8 kB / 1.06 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.921, allocations: 1.551 MB / 1.062 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.9211, allocations: 86.05 kB / 1.062 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.9213, allocations: 108 kB / 1.062 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.9238, allocations: 1.309 MB / 1.063 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.9238, allocations: 3.938 kB / 1.063 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.9239, allocations: 44 kB / 1.063 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.9239, allocations: 31.94 kB / 1.063 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.9266, allocations: 1.097 MB / 1.064 GB, free: 13.23 MB / 0.8262 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.009765/0.9364, allocations: 7.497 MB / 1.072 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.9394, allocations: 0.7979 MB / 1.072 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.94, allocations: 286 kB / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.9415, allocations: 1.722 MB / 1.074 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.9416, allocations: 42.98 kB / 1.074 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.405e-06/0.9416, allocations: 0 / 1.074 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.004775/0.9464, allocations: 1.342 MB / 1.076 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.9464, allocations: 59.84 kB / 1.076 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.9491, allocations: 1.542 MB / 1.077 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/0.9492, allocations: 37.7 kB / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/0.9498, allocations: 0.6767 MB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.95, allocations: 165.5 kB / 1.078 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.9503, allocations: 174.4 kB / 1.078 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9504, allocations: 337.9 kB / 1.079 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.9514, allocations: 369.7 kB / 1.079 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.9526, allocations: 0.6578 MB / 1.08 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.9544, allocations: 0.8867 MB / 1.081 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.9544, allocations: 4 kB / 1.081 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002981/0.9574, allocations: 1.189 MB / 1.082 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.9574, allocations: 9.406 kB / 1.082 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.9574, allocations: 8 kB / 1.082 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008756/0.9583, allocations: 216.7 kB / 1.082 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.9591, allocations: 195.7 kB / 1.082 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.9599, allocations: 0.72 MB / 1.083 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.9616, allocations: 214.7 kB / 1.083 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9617, allocations: 43.97 kB / 1.083 GB, free: 8.805 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006258/0.9623, allocations: 358.1 kB / 1.083 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.9627, allocations: 154.2 kB / 1.084 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.9652, allocations: 1.133 MB / 1.085 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.9652, allocations: 15.98 kB / 1.085 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9652, allocations: 0 / 1.085 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9652, allocations: 0 / 1.085 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.9706, allocations: 2.51 MB / 1.087 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.9707, allocations: 4 kB / 1.087 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.971, allocations: 79.88 kB / 1.087 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/0.9718, allocations: 224.6 kB / 1.087 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.9719, allocations: 16 kB / 1.087 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.9732, allocations: 0.7824 MB / 1.088 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.9732, allocations: 4.031 kB / 1.088 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.9766, allocations: 1.207 MB / 1.089 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008308/0.9775, allocations: 343 kB / 1.09 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.9778, allocations: 19.91 kB / 1.09 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.9789, allocations: 71.91 kB / 1.09 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.979, allocations: 44.52 kB / 1.09 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.979, allocations: 27.98 kB / 1.09 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002029/0.9811, allocations: 1.086 MB / 1.091 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9811, allocations: 3.938 kB / 1.091 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00153/0.9826, allocations: 443.4 kB / 1.091 GB, free: 120 kB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 Backend phase and start with SimCode phase: time 0.001111/0.9837, allocations: 486.2 kB / 1.092 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.986, allocations: 0.8525 MB / 1.093 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.986, allocations: 320 / 1.093 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.9873, allocations: 447.2 kB / 1.093 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.9906, allocations: 0.7332 MB / 1.094 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.9955, allocations: 2.244 MB / 1.096 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/0.9965, allocations: 1.172 MB / 1.097 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00113/0.9976, allocations: 264.2 kB / 1.097 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.998, allocations: 115.4 kB / 1.097 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of SimCode: time 1.193e-06/0.998, allocations: 0 / 1.097 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of Templates: time 0.05522/1.053, allocations: 31.5 MB / 1.128 GB, free: 10.62 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches