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.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.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.008144/0.008145, allocations: 107 kB / 15.74 MB, free: 6.043 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.001296/0.001296, allocations: 199 kB / 16.68 MB, free: 5.957 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.109, allocations: 140.4 MB / 1.088 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09128/1.2, allocations: 70.48 MB / 1.157 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03348/1.234, allocations: 18.93 MB / 1.175 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00479/1.238, allocations: 70.59 kB / 1.175 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/1.242, allocations: 0.8435 MB / 1.176 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/1.255, allocations: 3 MB / 1.179 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006465/1.262, allocations: 1.674 MB / 1.181 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009212/1.271, allocations: 4.043 MB / 1.185 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/1.275, allocations: 1.456 MB / 1.186 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006434/1.281, allocations: 1.811 MB / 1.188 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/1.285, allocations: 1.182 MB / 1.189 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008408/1.286, allocations: 174.5 kB / 1.189 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005774/1.291, allocations: 1.42 MB / 1.191 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009711/1.292, allocations: 387.7 kB / 1.191 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00307/1.296, allocations: 0.9236 MB / 1.192 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007685/1.303, allocations: 3.1 MB / 1.195 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.303, allocations: 4 kB / 1.195 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/1.303, allocations: 0 / 1.195 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.705e-05/1.303, allocations: 0 / 1.195 GB, free: 8.879 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004516/1.308, allocations: 2.03 MB / 1.197 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.308, allocations: 9.844 kB / 1.197 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/1.31, allocations: 446.7 kB / 1.197 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/1.313, allocations: 1.542 MB / 1.199 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/1.313, allocations: 77.94 kB / 1.199 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/1.314, allocations: 106.1 kB / 1.199 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/1.316, allocations: 1.315 MB / 1.2 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/1.316, allocations: 6.344 kB / 1.2 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.316, allocations: 42.5 kB / 1.2 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/1.317, allocations: 30.09 kB / 1.2 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/1.319, allocations: 1.102 MB / 1.201 GB, free: 4.285 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.01002/1.329, allocations: 7.502 MB / 1.209 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/1.332, allocations: 0.8109 MB / 1.209 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/1.333, allocations: 283.3 kB / 1.21 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.335, allocations: 1.73 MB / 1.211 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.335, allocations: 38.72 kB / 1.211 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.464e-06/1.335, allocations: 0 / 1.211 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005652/1.34, allocations: 1.333 MB / 1.213 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.341, allocations: 60.33 kB / 1.213 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/1.344, allocations: 1.541 MB / 1.214 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/1.344, allocations: 37.83 kB / 1.214 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/1.345, allocations: 0.6766 MB / 1.215 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/1.345, allocations: 171.2 kB / 1.215 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/1.345, allocations: 170 kB / 1.215 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.346, allocations: 340.1 kB / 1.216 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.347, allocations: 363.8 kB / 1.216 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/1.348, allocations: 0.6559 MB / 1.217 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.35, allocations: 0.8873 MB / 1.218 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.35, allocations: 5.281 kB / 1.218 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003287/1.354, allocations: 1.193 MB / 1.219 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.354, allocations: 7.5 kB / 1.219 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.354, allocations: 16.44 kB / 1.219 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/1.355, allocations: 227 kB / 1.219 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/1.355, allocations: 186 kB / 1.219 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008841/1.356, allocations: 0.7263 MB / 1.22 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.358, allocations: 219.3 kB / 1.22 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.358, allocations: 39.73 kB / 1.22 GB, free: 4.895 MB / 0.9512 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.0007871/1.359, allocations: 362.2 kB / 1.22 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/1.359, allocations: 153.7 kB / 1.221 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/1.362, allocations: 1.141 MB / 1.222 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/1.362, allocations: 8 kB / 1.222 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.362, allocations: 0 / 1.222 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.362, allocations: 7.984 kB / 1.222 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/1.367, allocations: 2.499 MB / 1.224 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.367, allocations: 4 kB / 1.224 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.368, allocations: 92.06 kB / 1.224 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/1.368, allocations: 204.6 kB / 1.224 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/1.368, allocations: 15.98 kB / 1.224 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/1.37, allocations: 0.7785 MB / 1.225 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.37, allocations: 192 / 1.225 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/1.373, allocations: 1.203 MB / 1.226 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/1.374, allocations: 358.8 kB / 1.227 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.374, allocations: 15.98 kB / 1.227 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/1.375, allocations: 67.92 kB / 1.227 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/1.375, allocations: 40.5 kB / 1.227 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.157e-05/1.375, allocations: 23.98 kB / 1.227 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001699/1.377, allocations: 1.09 MB / 1.228 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.377, allocations: 0 / 1.228 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001434/1.378, allocations: 443.4 kB / 1.228 GB, free: 12.62 MB / 0.9669 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.0009392/1.379, allocations: 486 kB / 1.229 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002174/1.381, allocations: 0.8446 MB / 1.23 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.381, allocations: 0 / 1.23 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/1.383, allocations: 443.7 kB / 1.23 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.386, allocations: 0.7366 MB / 1.231 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/1.39, allocations: 2.234 MB / 1.233 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/1.391, allocations: 1.18 MB / 1.234 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001096/1.392, allocations: 268.8 kB / 1.234 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.392, allocations: 115.4 kB / 1.234 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/1.392, allocations: 0 / 1.234 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of Templates: time 0.06319/1.455, allocations: 31.75 MB / 1.265 GB, free: 6.895 MB / 0.9981 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 -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/jenkins/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