Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001538/0.001538, allocations: 112.5 kB / 15.73 MB, free: 76 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.001372/0.001372, allocations: 189.8 kB / 16.67 MB, free: 6.582 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4033, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.8486/1.252, allocations: 70.63 MB / 1.29 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03187/1.284, allocations: 18.95 MB / 1.308 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/1.288, allocations: 71.03 kB / 1.308 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/1.291, allocations: 0.85 MB / 1.309 GB, free: 11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/1.302, allocations: 3.009 MB / 1.312 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/1.308, allocations: 1.657 MB / 1.314 GB, free: 8.262 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01013/1.318, allocations: 4.045 MB / 1.317 GB, free: 6.199 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/1.32, allocations: 1.182 MB / 1.319 GB, free: 5.551 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006263/1.327, allocations: 1.815 MB / 1.32 GB, free: 4.609 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/1.33, allocations: 1.18 MB / 1.322 GB, free: 4.055 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007335/1.331, allocations: 174.3 kB / 1.322 GB, free: 4.055 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005411/1.336, allocations: 1.418 MB / 1.323 GB, free: 3.543 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008528/1.337, allocations: 395.5 kB / 1.323 GB, free: 3.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002186/1.339, allocations: 0.917 MB / 1.324 GB, free: 2.672 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008228/1.348, allocations: 3.109 MB / 1.327 GB, free: 1.504 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.348, allocations: 0 / 1.327 GB, free: 1.504 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.394e-06/1.348, allocations: 1.156 kB / 1.327 GB, free: 1.504 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.131e-05/1.348, allocations: 0 / 1.327 GB, free: 1.504 MB / 1.029 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.004732/1.352, allocations: 2.088 MB / 1.329 GB, free: 76 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.352, allocations: 12.66 kB / 1.329 GB, free: 72 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/1.355, allocations: 458.1 kB / 1.33 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/1.359, allocations: 1.56 MB / 1.331 GB, free: 14.99 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/1.359, allocations: 78 kB / 1.331 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/1.359, allocations: 108.5 kB / 1.332 GB, free: 14.92 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/1.362, allocations: 1.31 MB / 1.333 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/1.362, allocations: 6.781 kB / 1.333 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.362, allocations: 51.12 kB / 1.333 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/1.362, allocations: 25.34 kB / 1.333 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/1.365, allocations: 1.098 MB / 1.334 GB, free: 13.78 MB / 1.045 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.01279/1.378, allocations: 7.515 MB / 1.341 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.381, allocations: 0.7769 MB / 1.342 GB, free: 7.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/1.382, allocations: 262.9 kB / 1.342 GB, free: 7.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/1.383, allocations: 1.72 MB / 1.344 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/1.383, allocations: 40.28 kB / 1.344 GB, free: 5.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=48): time 3.096e-06/1.383, allocations: 4 kB / 1.344 GB, free: 5.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.005238/1.389, allocations: 1.34 MB / 1.345 GB, free: 4.926 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.389, allocations: 56.47 kB / 1.345 GB, free: 4.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/1.392, allocations: 1.552 MB / 1.347 GB, free: 4.234 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/1.392, allocations: 38.42 kB / 1.347 GB, free: 4.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/1.393, allocations: 0.6813 MB / 1.348 GB, free: 3.648 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/1.393, allocations: 179.3 kB / 1.348 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/1.393, allocations: 170 kB / 1.348 GB, free: 3.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.393, allocations: 340.7 kB / 1.348 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/1.395, allocations: 367.3 kB / 1.349 GB, free: 2.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.396, allocations: 0.6566 MB / 1.349 GB, free: 2.348 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/1.398, allocations: 0.8821 MB / 1.35 GB, free: 1.703 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.398, allocations: 3.312 kB / 1.35 GB, free: 1.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003211/1.401, allocations: 1.198 MB / 1.351 GB, free: 1.074 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.401, allocations: 8.938 kB / 1.351 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.401, allocations: 6.844 kB / 1.351 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/1.402, allocations: 218.7 kB / 1.352 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/1.403, allocations: 190.7 kB / 1.352 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009822/1.404, allocations: 0.7338 MB / 1.352 GB, free: 272 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.406, allocations: 216.5 kB / 1.353 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.406, allocations: 43.61 kB / 1.353 GB, free: 136 kB / 1.045 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.0008089/1.407, allocations: 368.5 kB / 1.353 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/1.407, allocations: 158.8 kB / 1.353 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/1.41, allocations: 1.137 MB / 1.354 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/1.41, allocations: 7.094 kB / 1.354 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.41, allocations: 0 / 1.354 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.41, allocations: 3.984 kB / 1.354 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006521/1.417, allocations: 2.518 MB / 1.357 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.417, allocations: 5.062 kB / 1.357 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/1.417, allocations: 85.47 kB / 1.357 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007855/1.418, allocations: 211.9 kB / 1.357 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/1.418, allocations: 18.48 kB / 1.357 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/1.419, allocations: 0.773 MB / 1.358 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.419, allocations: 1.438 kB / 1.358 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/1.423, allocations: 1.204 MB / 1.359 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008592/1.424, allocations: 362.7 kB / 1.359 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004793/1.424, allocations: 13.31 kB / 1.359 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.425, allocations: 69.52 kB / 1.359 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/1.425, allocations: 47.84 kB / 1.36 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/1.426, allocations: 24.98 kB / 1.36 GB, free: 11.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002767/1.428, allocations: 1.091 MB / 1.361 GB, free: 10.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.428, allocations: 0 / 1.361 GB, free: 10.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003245/1.432, allocations: 447.7 kB / 1.361 GB, free: 10.7 MB / 1.061 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.00168/1.433, allocations: 480 kB / 1.361 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002557/1.436, allocations: 0.8246 MB / 1.362 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.436, allocations: 1.125 kB / 1.362 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.437, allocations: 415.2 kB / 1.363 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.441, allocations: 0.7287 MB / 1.363 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/1.447, allocations: 2.305 MB / 1.366 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.448, allocations: 1.177 MB / 1.367 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001431/1.449, allocations: 270.1 kB / 1.367 GB, free: 7.004 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/1.45, allocations: 111.1 kB / 1.367 GB, free: 6.984 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.45, allocations: 1 kB / 1.367 GB, free: 6.984 MB / 1.061 GB Notification: Performance of Templates: time 0.05567/1.505, allocations: 31.88 MB / 1.398 GB, free: 14.2 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches