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.005633/0.005633, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001432/0.001432, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.092, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08778/1.18, allocations: 70.49 MB / 1.157 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03216/1.212, allocations: 18.93 MB / 1.175 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004699/1.217, allocations: 71.09 kB / 1.175 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00375/1.221, allocations: 0.8422 MB / 1.176 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0131/1.234, allocations: 3.003 MB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007153/1.241, allocations: 1.657 MB / 1.181 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01171/1.253, allocations: 4.059 MB / 1.185 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/1.257, allocations: 1.456 MB / 1.186 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/1.263, allocations: 1.811 MB / 1.188 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/1.266, allocations: 1.177 MB / 1.189 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006174/1.267, allocations: 175.2 kB / 1.189 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/1.272, allocations: 1.411 MB / 1.191 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007463/1.272, allocations: 392 kB / 1.191 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/1.274, allocations: 0.9201 MB / 1.192 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006354/1.281, allocations: 3.107 MB / 1.195 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.281, allocations: 0 / 1.195 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/1.281, allocations: 4 kB / 1.195 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.192e-05/1.281, allocations: 0 / 1.195 GB, free: 8.668 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.004399/1.285, allocations: 2.088 MB / 1.197 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.285, allocations: 9.094 kB / 1.197 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/1.288, allocations: 456.3 kB / 1.197 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/1.291, allocations: 1.56 MB / 1.199 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/1.291, allocations: 78.66 kB / 1.199 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.291, allocations: 105.8 kB / 1.199 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/1.294, allocations: 1.315 MB / 1.2 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/1.294, allocations: 5.219 kB / 1.2 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.294, allocations: 43.38 kB / 1.2 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/1.294, allocations: 33.06 kB / 1.2 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/1.297, allocations: 1.102 MB / 1.201 GB, free: 3.988 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.01228/1.309, allocations: 7.52 MB / 1.209 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/1.313, allocations: 0.813 MB / 1.21 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/1.313, allocations: 279.9 kB / 1.21 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.315, allocations: 1.726 MB / 1.212 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.315, allocations: 38.25 kB / 1.212 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 3.857e-06/1.315, allocations: 3.938 kB / 1.212 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005417/1.32, allocations: 1.349 MB / 1.213 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/1.32, allocations: 57.09 kB / 1.213 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/1.324, allocations: 1.545 MB / 1.214 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.324, allocations: 37.73 kB / 1.215 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/1.325, allocations: 0.6815 MB / 1.215 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/1.325, allocations: 181.1 kB / 1.215 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.325, allocations: 177.2 kB / 1.216 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.325, allocations: 336.7 kB / 1.216 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.326, allocations: 362.8 kB / 1.216 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/1.328, allocations: 0.6641 MB / 1.217 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/1.33, allocations: 0.8831 MB / 1.218 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.33, allocations: 6.75 kB / 1.218 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003482/1.333, allocations: 1.196 MB / 1.219 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.333, allocations: 8.469 kB / 1.219 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.333, allocations: 8.938 kB / 1.219 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.334, allocations: 219 kB / 1.219 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/1.335, allocations: 189.3 kB / 1.219 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009753/1.336, allocations: 0.7227 MB / 1.22 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.338, allocations: 219.2 kB / 1.22 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.339, allocations: 43.56 kB / 1.22 GB, free: 4.559 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.0008645/1.339, allocations: 363.3 kB / 1.221 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/1.34, allocations: 158.5 kB / 1.221 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/1.343, allocations: 1.138 MB / 1.222 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.343, allocations: 7.984 kB / 1.222 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.343, allocations: 0 / 1.222 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.343, allocations: 8 kB / 1.222 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/1.348, allocations: 2.503 MB / 1.224 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.348, allocations: 0 / 1.224 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/1.349, allocations: 88.16 kB / 1.224 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008122/1.35, allocations: 220.5 kB / 1.225 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/1.35, allocations: 16 kB / 1.225 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/1.351, allocations: 0.7747 MB / 1.225 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.351, allocations: 4.031 kB / 1.225 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/1.355, allocations: 1.211 MB / 1.227 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.356, allocations: 355.8 kB / 1.227 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.356, allocations: 12 kB / 1.227 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/1.357, allocations: 75.91 kB / 1.227 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.357, allocations: 44.45 kB / 1.227 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/1.357, allocations: 23.98 kB / 1.227 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001795/1.359, allocations: 1.086 MB / 1.228 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.359, allocations: 0 / 1.228 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001577/1.36, allocations: 451 kB / 1.229 GB, free: 12.32 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.0009841/1.361, allocations: 495.6 kB / 1.229 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002247/1.364, allocations: 0.8408 MB / 1.23 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.364, allocations: 4 kB / 1.23 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/1.365, allocations: 435.6 kB / 1.23 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.368, allocations: 0.7381 MB / 1.231 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/1.372, allocations: 2.295 MB / 1.233 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.373, allocations: 1.176 MB / 1.234 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009721/1.374, allocations: 268.1 kB / 1.235 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.374, allocations: 119.4 kB / 1.235 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/1.374, allocations: 0 / 1.235 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of Templates: time 0.05298/1.427, allocations: 31.74 MB / 1.266 GB, free: 6.535 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