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.0008506/0.0008507, allocations: 96.14 kB / 16.03 MB, free: 68 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.001035/0.001035, allocations: 185.7 kB / 16.92 MB, free: 6.691 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.34 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.737/2.737, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006255/0.000626, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.693, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07191/0.765, allocations: 68.87 MB / 1.091 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0246/0.7896, allocations: 18.78 MB / 1.109 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.7924, allocations: 63.62 kB / 1.109 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.7952, allocations: 0.6449 MB / 1.11 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007947/0.8031, allocations: 2.621 MB / 1.113 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.8074, allocations: 1.489 MB / 1.114 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007229/0.8146, allocations: 5.013 MB / 1.119 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/0.8172, allocations: 1.144 MB / 1.12 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.8212, allocations: 1.458 MB / 1.121 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.8236, allocations: 1.104 MB / 1.123 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.824, allocations: 63.98 kB / 1.123 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/0.8284, allocations: 1.22 MB / 1.124 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006926/0.8291, allocations: 262.6 kB / 1.124 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.8312, allocations: 0.8022 MB / 1.125 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003743/0.8349, allocations: 2.377 MB / 1.127 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.835, allocations: 3.938 kB / 1.127 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/0.835, allocations: 0 / 1.127 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.247e-05/0.8351, allocations: 0 / 1.127 GB, free: 5.609 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.003962/0.839, allocations: 1.704 MB / 1.129 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8391, allocations: 12.03 kB / 1.129 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.8417, allocations: 0.4946 MB / 1.129 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.8449, allocations: 1.508 MB / 1.131 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004197/0.8454, allocations: 146 kB / 1.131 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.8457, allocations: 108 kB / 1.131 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.8488, allocations: 1.324 MB / 1.132 GB, free: 104 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.8488, allocations: 3.938 kB / 1.132 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.8489, allocations: 47.94 kB / 1.132 GB, free: 52 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.849, allocations: 24 kB / 1.132 GB, free: 28 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.8521, allocations: 1.163 MB / 1.133 GB, free: 14.86 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.009977/0.8621, allocations: 7.18 MB / 1.141 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.8656, allocations: 0.8887 MB / 1.141 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.8663, allocations: 298 kB / 1.142 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.8678, allocations: 1.726 MB / 1.143 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.8678, allocations: 46.88 kB / 1.143 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 3.206e-06/0.8678, allocations: 0 / 1.143 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.005126/0.873, allocations: 1.452 MB / 1.145 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.873, allocations: 55.84 kB / 1.145 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.8757, allocations: 1.529 MB / 1.146 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/0.8758, allocations: 37.7 kB / 1.146 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/0.8763, allocations: 0.6653 MB / 1.147 GB, free: 32 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.8765, allocations: 173.8 kB / 1.147 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.8766, allocations: 53.69 kB / 1.147 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8768, allocations: 337.9 kB / 1.148 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.8778, allocations: 389.8 kB / 1.148 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.8791, allocations: 0.6627 MB / 1.149 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.8809, allocations: 0.8951 MB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.8809, allocations: 4 kB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004672/0.8856, allocations: 1.442 MB / 1.151 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.8856, allocations: 8 kB / 1.151 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.8856, allocations: 4 kB / 1.151 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009456/0.8866, allocations: 229.2 kB / 1.151 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.8874, allocations: 195.7 kB / 1.151 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.8883, allocations: 0.7318 MB / 1.152 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8901, allocations: 262.8 kB / 1.152 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.8903, allocations: 39.98 kB / 1.152 GB, free: 10.37 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.0007561/0.891, allocations: 354.9 kB / 1.153 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.8914, allocations: 150.1 kB / 1.153 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.8939, allocations: 1.177 MB / 1.154 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.894, allocations: 15.97 kB / 1.154 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.894, allocations: 3.938 kB / 1.154 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.894, allocations: 7.922 kB / 1.154 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.8996, allocations: 2.588 MB / 1.156 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.8996, allocations: 3.938 kB / 1.156 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.9, allocations: 91.88 kB / 1.157 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008128/0.9008, allocations: 224.6 kB / 1.157 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.9008, allocations: 15.98 kB / 1.157 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.9022, allocations: 0.7982 MB / 1.158 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9022, allocations: 4.062 kB / 1.158 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.9059, allocations: 1.296 MB / 1.159 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007169/0.9066, allocations: 366.9 kB / 1.159 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.9068, allocations: 12 kB / 1.159 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/0.9078, allocations: 103.8 kB / 1.159 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.9079, allocations: 48.44 kB / 1.159 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.908, allocations: 31.98 kB / 1.159 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001802/0.9098, allocations: 1.086 MB / 1.16 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9098, allocations: 0 / 1.16 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001385/0.9112, allocations: 439.3 kB / 1.161 GB, free: 1.383 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.0009337/0.9121, allocations: 482.6 kB / 1.161 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.9143, allocations: 0.8758 MB / 1.162 GB, free: 44 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9144, allocations: 0 / 1.162 GB, free: 44 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.9157, allocations: 475.5 kB / 1.163 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/0.9196, allocations: 0.7094 MB / 1.163 GB, free: 14.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.924, allocations: 2.822 MB / 1.166 GB, free: 12.01 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.9247, allocations: 1.158 MB / 1.167 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.9251, allocations: 127.3 kB / 1.167 GB, free: 10.7 MB / 0.92 GB Notification: Performance of SimCode: time 7.11e-07/0.9251, allocations: 0 / 1.167 GB, free: 10.7 MB / 0.92 GB Notification: Performance of Templates: time 0.04581/0.971, allocations: 33.58 MB / 1.2 GB, free: 9.309 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