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.0009434/0.0009433, allocations: 92.78 kB / 16.02 MB, free: 80 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.001441/0.001441, allocations: 180.1 kB / 16.92 MB, free: 6.652 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.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.42/2.42, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004567, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7486, allocations: 142.4 MB / 0.9557 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06298/0.8116, allocations: 68.87 MB / 1.023 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02292/0.8346, allocations: 18.78 MB / 1.041 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.8374, allocations: 59.62 kB / 1.041 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.8399, allocations: 0.6566 MB / 1.042 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008118/0.8481, allocations: 2.602 MB / 1.045 GB, free: 4.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.8524, allocations: 1.496 MB / 1.046 GB, free: 2.598 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006567/0.859, allocations: 5.008 MB / 1.051 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.8612, allocations: 1.144 MB / 1.052 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.8646, allocations: 1.462 MB / 1.053 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.8668, allocations: 1.104 MB / 1.055 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.8671, allocations: 60 kB / 1.055 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.8702, allocations: 1.212 MB / 1.056 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.8706, allocations: 266.7 kB / 1.056 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.8719, allocations: 0.806 MB / 1.057 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.875, allocations: 2.377 MB / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.875, allocations: 0 / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.903e-06/0.875, allocations: 0 / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.531e-05/0.8751, allocations: 0 / 1.059 GB, free: 5.09 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.003252/0.8783, allocations: 1.707 MB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8784, allocations: 8.031 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.8807, allocations: 0.5018 MB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.8833, allocations: 1.504 MB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.8837, allocations: 146 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.8839, allocations: 100 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.8865, allocations: 1.328 MB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.8866, allocations: 3.938 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.8867, allocations: 44 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.8867, allocations: 31.94 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.8894, allocations: 1.155 MB / 1.065 GB, free: 14.35 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.009268/0.8987, allocations: 7.191 MB / 1.073 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.9021, allocations: 0.8924 MB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.9028, allocations: 301.9 kB / 1.074 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.9041, allocations: 1.726 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.9041, allocations: 35 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.916e-06/0.9041, allocations: 0 / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.005113/0.9092, allocations: 1.459 MB / 1.077 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.9093, allocations: 55.84 kB / 1.077 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.9119, allocations: 1.529 MB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.9121, allocations: 41.7 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/0.9126, allocations: 0.6653 MB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.9128, allocations: 169.6 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.913, allocations: 57.69 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9131, allocations: 337.9 kB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.9141, allocations: 385.8 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.9153, allocations: 0.6665 MB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.9171, allocations: 0.8952 MB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9171, allocations: 0 / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00471/0.9219, allocations: 1.442 MB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.9219, allocations: 8 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.9219, allocations: 8 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009394/0.9229, allocations: 225.3 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.9237, allocations: 199.7 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008934/0.9246, allocations: 0.7318 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.9265, allocations: 262.7 kB / 1.084 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/0.9266, allocations: 39.98 kB / 1.084 GB, free: 9.836 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.0006601/0.9273, allocations: 353.6 kB / 1.085 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.9275, allocations: 150.1 kB / 1.085 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.9299, allocations: 1.176 MB / 1.086 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.93, allocations: 19.86 kB / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.93, allocations: 0 / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.93, allocations: 3.984 kB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.9354, allocations: 2.588 MB / 1.088 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.9354, allocations: 4 kB / 1.089 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.9358, allocations: 87.88 kB / 1.089 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007887/0.9366, allocations: 220.8 kB / 1.089 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.9366, allocations: 20.08 kB / 1.089 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.938, allocations: 0.802 MB / 1.09 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.938, allocations: 4.031 kB / 1.09 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.9416, allocations: 1.289 MB / 1.091 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/0.9425, allocations: 374.8 kB / 1.091 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.9427, allocations: 16 kB / 1.091 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/0.9437, allocations: 107.8 kB / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.9438, allocations: 36.52 kB / 1.091 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/0.9439, allocations: 27.98 kB / 1.091 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001821/0.9457, allocations: 1.09 MB / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.9457, allocations: 0 / 1.092 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001308/0.947, allocations: 435.4 kB / 1.093 GB, free: 0.8711 MB / 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.0008949/0.9479, allocations: 476.9 kB / 1.093 GB, free: 412 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.9502, allocations: 0.8721 MB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9502, allocations: 0 / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.9516, allocations: 479.5 kB / 1.095 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/0.9553, allocations: 0.7175 MB / 1.095 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.9595, allocations: 2.824 MB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.9603, allocations: 1.158 MB / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.9607, allocations: 127.3 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of SimCode: time 7.12e-07/0.9607, allocations: 0 / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of Templates: time 0.04598/1.007, allocations: 33.59 MB / 1.132 GB, free: 8.762 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/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