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.0008499/0.0008498, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007549/0.007549, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.509/2.509, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006267/0.000627, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9312/0.9319, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.079/1.011, allocations: 68.88 MB / 1.022 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02736/1.038, allocations: 18.78 MB / 1.041 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/1.042, allocations: 59.62 kB / 1.041 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/1.045, allocations: 0.6605 MB / 1.041 GB, free: 6.691 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/1.056, allocations: 2.613 MB / 1.044 GB, free: 4.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005401/1.061, allocations: 1.486 MB / 1.045 GB, free: 2.59 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0099/1.071, allocations: 5.009 MB / 1.05 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/1.074, allocations: 1.144 MB / 1.051 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004606/1.079, allocations: 1.45 MB / 1.053 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/1.082, allocations: 1.116 MB / 1.054 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/1.082, allocations: 60 kB / 1.054 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/1.086, allocations: 1.208 MB / 1.055 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/1.086, allocations: 270.6 kB / 1.055 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.087, allocations: 0.806 MB / 1.056 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/1.092, allocations: 2.956 MB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.092, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.414e-06/1.092, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.035e-05/1.092, allocations: 0 / 1.059 GB, free: 4.496 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.003361/1.095, allocations: 1.711 MB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.095, allocations: 8.031 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/1.097, allocations: 0.494 MB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/1.1, allocations: 1.51 MB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/1.1, allocations: 150 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/1.101, allocations: 104 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/1.103, allocations: 1.317 MB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.103, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.103, allocations: 44 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/1.103, allocations: 31.94 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/1.106, allocations: 1.155 MB / 1.065 GB, free: 13.76 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.008836/1.115, allocations: 7.193 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/1.118, allocations: 0.8927 MB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/1.119, allocations: 309.9 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.12, allocations: 1.718 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.12, allocations: 43 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/1.12, allocations: 0 / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.00506/1.125, allocations: 1.444 MB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.126, allocations: 59.83 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/1.128, allocations: 1.537 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/1.128, allocations: 37.7 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/1.129, allocations: 0.6653 MB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.129, allocations: 169.6 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/1.129, allocations: 57.69 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.129, allocations: 341.9 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.13, allocations: 385.8 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.131, allocations: 0.6627 MB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/1.133, allocations: 0.8952 MB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.133, allocations: 4 kB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00459/1.138, allocations: 1.439 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.138, allocations: 9.406 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.138, allocations: 8 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009454/1.139, allocations: 228.6 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/1.14, allocations: 191.7 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/1.141, allocations: 0.7318 MB / 1.084 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.142, allocations: 262.7 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/1.142, allocations: 40.08 kB / 1.084 GB, free: 9.25 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0007367/1.143, allocations: 361.5 kB / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/1.143, allocations: 154.1 kB / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/1.147, allocations: 1.18 MB / 1.086 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.147, allocations: 7.938 kB / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.147, allocations: 0 / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.147, allocations: 3.984 kB / 1.086 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/1.154, allocations: 2.592 MB / 1.088 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.154, allocations: 4 kB / 1.088 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/1.154, allocations: 96.06 kB / 1.088 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008867/1.155, allocations: 216.6 kB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/1.155, allocations: 23.98 kB / 1.089 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/1.157, allocations: 0.7943 MB / 1.089 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.157, allocations: 4.031 kB / 1.089 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/1.161, allocations: 1.289 MB / 1.091 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/1.162, allocations: 378.8 kB / 1.091 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.162, allocations: 12 kB / 1.091 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.163, allocations: 107.8 kB / 1.091 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.163, allocations: 40.45 kB / 1.091 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/1.164, allocations: 23.98 kB / 1.091 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00254/1.166, allocations: 1.09 MB / 1.092 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.92e-07/1.166, allocations: 0 / 1.092 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002111/1.168, allocations: 439.4 kB / 1.093 GB, free: 280 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.001397/1.17, allocations: 481 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002547/1.172, allocations: 0.868 MB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.172, allocations: 4 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.174, allocations: 479.5 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/1.178, allocations: 0.7049 MB / 1.095 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/1.184, allocations: 2.792 MB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009989/1.185, allocations: 1.172 MB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001488/1.186, allocations: 260 kB / 1.099 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/1.187, allocations: 119.3 kB / 1.099 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of SimCode: time 1.503e-06/1.187, allocations: 0 / 1.099 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of Templates: time 0.06289/1.25, allocations: 30.48 MB / 1.129 GB, free: 11.22 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 -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