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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001395/0.001395, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001605/0.001605, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 62.17 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06924/0.3729, allocations: 70.51 MB / 1.02 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02526/0.3982, allocations: 18.91 MB / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.4021, allocations: 71.56 kB / 1.039 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.4052, allocations: 0.819 MB / 1.039 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.4155, allocations: 2.852 MB / 1.042 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.4206, allocations: 1.662 MB / 1.044 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007278/0.4279, allocations: 4.042 MB / 1.048 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.4307, allocations: 1.453 MB / 1.049 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.4357, allocations: 1.767 MB / 1.051 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.4382, allocations: 1.182 MB / 1.052 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003027/0.4385, allocations: 176 kB / 1.052 GB, free: 272 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.4425, allocations: 1.419 MB / 1.054 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.443, allocations: 382.6 kB / 1.054 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.4444, allocations: 0.9216 MB / 1.055 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00594/0.4504, allocations: 3.101 MB / 1.058 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4504, allocations: 0 / 1.058 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4504, allocations: 0 / 1.058 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.4504, allocations: 4 kB / 1.058 GB, free: 10.43 MB / 0.8419 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.004102/0.4546, allocations: 2.03 MB / 1.06 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4546, allocations: 8.031 kB / 1.06 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.4568, allocations: 441.8 kB / 1.06 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.4598, allocations: 1.551 MB / 1.062 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.46, allocations: 82.03 kB / 1.062 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4601, allocations: 104 kB / 1.062 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.4628, allocations: 1.316 MB / 1.063 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4628, allocations: 7.938 kB / 1.063 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.4629, allocations: 44 kB / 1.063 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.463, allocations: 31.94 kB / 1.063 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.4655, allocations: 1.089 MB / 1.064 GB, free: 3.508 MB / 0.8419 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.01029/0.4758, allocations: 7.501 MB / 1.072 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.4789, allocations: 0.8018 MB / 1.072 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.4796, allocations: 278 kB / 1.073 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.481, allocations: 1.734 MB / 1.074 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4811, allocations: 39 kB / 1.074 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.564e-06/0.4811, allocations: 0 / 1.074 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.004804/0.4859, allocations: 1.33 MB / 1.076 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.486, allocations: 59.84 kB / 1.076 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.4887, allocations: 1.553 MB / 1.077 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/0.4888, allocations: 37.7 kB / 1.077 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/0.4894, allocations: 0.6691 MB / 1.078 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.4896, allocations: 173.6 kB / 1.078 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.4899, allocations: 170.5 kB / 1.078 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4901, allocations: 337.9 kB / 1.079 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.4911, allocations: 361.8 kB / 1.079 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.4923, allocations: 0.6619 MB / 1.08 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.4941, allocations: 0.8906 MB / 1.081 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.4941, allocations: 4 kB / 1.081 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003448/0.4976, allocations: 1.193 MB / 1.082 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.4977, allocations: 15.92 kB / 1.082 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.4977, allocations: 8 kB / 1.082 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4988, allocations: 216.6 kB / 1.082 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.4996, allocations: 195.7 kB / 1.082 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6429/1.142, allocations: 0.7169 MB / 1.083 GB, free: 131.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.145, allocations: 212.3 kB / 1.083 GB, free: 131.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.145, allocations: 44.45 kB / 1.083 GB, free: 131.2 MB / 0.8575 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.0007891/1.146, allocations: 353.7 kB / 1.083 GB, free: 131.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/1.146, allocations: 150.5 kB / 1.084 GB, free: 131.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/1.149, allocations: 1.133 MB / 1.085 GB, free: 131 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.149, allocations: 11.89 kB / 1.085 GB, free: 131 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.149, allocations: 2.391 kB / 1.085 GB, free: 131 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.149, allocations: 7.516 kB / 1.085 GB, free: 131 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/1.154, allocations: 2.51 MB / 1.087 GB, free: 130.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.154, allocations: 5.906 kB / 1.087 GB, free: 130.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/1.155, allocations: 81.83 kB / 1.087 GB, free: 130.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008132/1.156, allocations: 217.6 kB / 1.087 GB, free: 130.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/1.156, allocations: 17.84 kB / 1.087 GB, free: 130.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.157, allocations: 0.7704 MB / 1.088 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.157, allocations: 2.938 kB / 1.088 GB, free: 129.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/1.161, allocations: 1.205 MB / 1.089 GB, free: 129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/1.161, allocations: 345.3 kB / 1.09 GB, free: 128.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/1.162, allocations: 18.33 kB / 1.09 GB, free: 128.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009265/1.163, allocations: 77.88 kB / 1.09 GB, free: 128.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.163, allocations: 50 kB / 1.09 GB, free: 128.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/1.163, allocations: 26.16 kB / 1.09 GB, free: 128.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002314/1.165, allocations: 1.084 MB / 1.091 GB, free: 128.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/1.165, allocations: 0 / 1.091 GB, free: 128.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001848/1.167, allocations: 440.7 kB / 1.091 GB, free: 128.2 MB / 0.8575 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.001199/1.168, allocations: 481.2 kB / 1.092 GB, free: 128.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002707/1.171, allocations: 0.8466 MB / 1.093 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.171, allocations: 1.406 kB / 1.093 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.172, allocations: 446.7 kB / 1.093 GB, free: 127.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/1.177, allocations: 0.7388 MB / 1.094 GB, free: 127.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/1.181, allocations: 2.243 MB / 1.096 GB, free: 126.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.183, allocations: 1.174 MB / 1.097 GB, free: 125.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001905/1.185, allocations: 261.3 kB / 1.097 GB, free: 125.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.185, allocations: 120.8 kB / 1.097 GB, free: 125.6 MB / 0.8575 GB Notification: Performance of SimCode: time 1.353e-06/1.185, allocations: 0 / 1.097 GB, free: 125.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.06673/1.252, allocations: 31.51 MB / 1.128 GB, free: 114.3 MB / 0.8575 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 -s cvode -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/jenkins1/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