Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.006723/0.006723, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001556/0.001556, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.725, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06442/0.7894, allocations: 70.11 MB / 1.086 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.8135, allocations: 19 MB / 1.104 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.8165, allocations: 63.62 kB / 1.104 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.8189, allocations: 0.6605 MB / 1.105 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007468/0.8264, allocations: 2.624 MB / 1.108 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.8305, allocations: 1.483 MB / 1.109 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006263/0.8368, allocations: 5.013 MB / 1.114 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.8389, allocations: 1.183 MB / 1.115 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.8423, allocations: 1.493 MB / 1.116 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.8444, allocations: 1.159 MB / 1.118 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.8447, allocations: 76 kB / 1.118 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.8477, allocations: 1.247 MB / 1.119 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.848, allocations: 290.6 kB / 1.119 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.8491, allocations: 0.8201 MB / 1.12 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.8522, allocations: 2.436 MB / 1.122 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.8522, allocations: 0 / 1.122 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8523, allocations: 3.938 kB / 1.122 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.8523, allocations: 0 / 1.122 GB, free: 6.789 MB / 0.8731 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.003513/0.8558, allocations: 2.023 MB / 1.124 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8559, allocations: 12.03 kB / 1.124 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.8581, allocations: 442.5 kB / 1.125 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.8606, allocations: 1.508 MB / 1.126 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.861, allocations: 134 kB / 1.126 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.8612, allocations: 108 kB / 1.126 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.8636, allocations: 1.301 MB / 1.128 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.8637, allocations: 3.938 kB / 1.128 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.8638, allocations: 44 kB / 1.128 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.8638, allocations: 24 kB / 1.128 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.8664, allocations: 1.109 MB / 1.129 GB, free: 15.88 MB / 0.8887 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.008967/0.8754, allocations: 7.121 MB / 1.136 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.8786, allocations: 0.8075 MB / 1.137 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.8792, allocations: 282 kB / 1.137 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.8806, allocations: 1.722 MB / 1.139 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.8806, allocations: 50.88 kB / 1.139 GB, free: 5 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 1.152e-05/0.8806, allocations: 0 / 1.139 GB, free: 5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004809/0.8854, allocations: 1.33 MB / 1.14 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.8855, allocations: 59.78 kB / 1.14 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.888, allocations: 1.521 MB / 1.142 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.141e-05/0.8881, allocations: 37.7 kB / 1.142 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006553/0.8887, allocations: 0.673 MB / 1.142 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.8889, allocations: 169.6 kB / 1.142 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.8892, allocations: 162.5 kB / 1.143 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8894, allocations: 334 kB / 1.143 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009224/0.8903, allocations: 361.8 kB / 1.143 GB, free: 304 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.8915, allocations: 0.6276 MB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.8932, allocations: 0.8599 MB / 1.145 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8932, allocations: 0 / 1.145 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004273/0.8975, allocations: 1.333 MB / 1.146 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.8975, allocations: 8 kB / 1.146 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.8975, allocations: 8 kB / 1.146 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000911/0.8985, allocations: 221.4 kB / 1.146 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.8992, allocations: 183.7 kB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009072/0.9002, allocations: 0.724 MB / 1.147 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.9019, allocations: 234.7 kB / 1.147 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.902, allocations: 35.98 kB / 1.147 GB, free: 11.82 MB / 0.9044 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.0006732/0.9027, allocations: 357.6 kB / 1.148 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.903, allocations: 146.2 kB / 1.148 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.9054, allocations: 1.146 MB / 1.149 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.9054, allocations: 7.984 kB / 1.149 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.9054, allocations: 3.938 kB / 1.149 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9055, allocations: 3.984 kB / 1.149 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.9105, allocations: 2.502 MB / 1.151 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.9106, allocations: 4 kB / 1.151 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.911, allocations: 87.81 kB / 1.151 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007482/0.9117, allocations: 220.6 kB / 1.152 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.9118, allocations: 16 kB / 1.152 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.913, allocations: 0.7709 MB / 1.152 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.913, allocations: 0 / 1.152 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.9164, allocations: 1.207 MB / 1.154 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.9171, allocations: 343 kB / 1.154 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.9173, allocations: 19.91 kB / 1.154 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/0.9183, allocations: 87.84 kB / 1.154 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.9184, allocations: 48.44 kB / 1.154 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.9185, allocations: 27.98 kB / 1.154 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001851/0.9203, allocations: 1.074 MB / 1.155 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9204, allocations: 0 / 1.155 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001458/0.9218, allocations: 435.5 kB / 1.156 GB, free: 3.148 MB / 0.9044 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.001028/0.9229, allocations: 476.3 kB / 1.156 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.9251, allocations: 0.8327 MB / 1.157 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9251, allocations: 4 kB / 1.157 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.9264, allocations: 443.5 kB / 1.157 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.9298, allocations: 0.6963 MB / 1.158 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.9341, allocations: 2.762 MB / 1.161 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.9349, allocations: 1.165 MB / 1.162 GB, free: 12.72 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.9353, allocations: 123.3 kB / 1.162 GB, free: 12.6 MB / 0.92 GB Notification: Performance of SimCode: time 5.82e-07/0.9353, allocations: 0 / 1.162 GB, free: 12.6 MB / 0.92 GB Notification: Performance of Templates: time 0.04656/0.9819, allocations: 33.82 MB / 1.195 GB, free: 10.99 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches