Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001666/0.001667, allocations: 111.8 kB / 16.37 MB, free: 5.539 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.00172/0.00172, allocations: 192.2 kB / 17.3 MB, free: 5.18 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 60.06 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3447, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.7357/1.08, allocations: 70.5 MB / 1.096 GB, free: 23.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03137/1.112, allocations: 18.92 MB / 1.114 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004701/1.117, allocations: 70.53 kB / 1.114 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003701/1.12, allocations: 0.8316 MB / 1.115 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/1.133, allocations: 2.846 MB / 1.118 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/1.139, allocations: 1.662 MB / 1.119 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007951/1.147, allocations: 4.037 MB / 1.123 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/1.15, allocations: 1.459 MB / 1.125 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/1.155, allocations: 1.772 MB / 1.126 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/1.159, allocations: 1.182 MB / 1.128 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005264/1.159, allocations: 176 kB / 1.128 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/1.164, allocations: 1.414 MB / 1.129 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006858/1.165, allocations: 382.5 kB / 1.129 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001991/1.167, allocations: 0.9253 MB / 1.13 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.177, allocations: 3.096 MB / 1.133 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.177, allocations: 0 / 1.133 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/1.177, allocations: 1.062 kB / 1.133 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.323e-05/1.177, allocations: 0 / 1.133 GB, free: 3.188 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.00508/1.182, allocations: 2.033 MB / 1.135 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.182, allocations: 14.09 kB / 1.135 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/1.185, allocations: 442.9 kB / 1.136 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/1.188, allocations: 1.55 MB / 1.137 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/1.188, allocations: 86.72 kB / 1.137 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/1.188, allocations: 102 kB / 1.138 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/1.191, allocations: 1.314 MB / 1.139 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/1.191, allocations: 5.375 kB / 1.139 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.191, allocations: 43.38 kB / 1.139 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/1.191, allocations: 26.25 kB / 1.139 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/1.194, allocations: 1.102 MB / 1.14 GB, free: 15.54 MB / 0.8575 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.01062/1.205, allocations: 7.502 MB / 1.147 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/1.208, allocations: 0.8038 MB / 1.148 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/1.209, allocations: 287.5 kB / 1.148 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/1.21, allocations: 1.722 MB / 1.15 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.21, allocations: 37.25 kB / 1.15 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/1.21, allocations: 0.8438 kB / 1.15 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.005291/1.215, allocations: 1.335 MB / 1.151 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.215, allocations: 57.12 kB / 1.151 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/1.219, allocations: 1.545 MB / 1.153 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/1.219, allocations: 41.98 kB / 1.153 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/1.22, allocations: 0.6763 MB / 1.154 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.22, allocations: 171.5 kB / 1.154 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.22, allocations: 169.8 kB / 1.154 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.22, allocations: 332.1 kB / 1.154 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.221, allocations: 363.1 kB / 1.155 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.223, allocations: 0.6605 MB / 1.155 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/1.224, allocations: 0.8912 MB / 1.156 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.225, allocations: 2.219 kB / 1.156 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003395/1.228, allocations: 1.191 MB / 1.157 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.228, allocations: 9.188 kB / 1.157 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.228, allocations: 7.594 kB / 1.157 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/1.229, allocations: 218 kB / 1.158 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/1.23, allocations: 203 kB / 1.158 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009303/1.231, allocations: 0.7302 MB / 1.158 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.233, allocations: 211.4 kB / 1.159 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.233, allocations: 43.23 kB / 1.159 GB, free: 1.148 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.000881/1.234, allocations: 354.5 kB / 1.159 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/1.234, allocations: 149.4 kB / 1.159 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.237, allocations: 1.14 MB / 1.16 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/1.237, allocations: 11.64 kB / 1.16 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.237, allocations: 4 kB / 1.16 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.237, allocations: 3.984 kB / 1.16 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00598/1.243, allocations: 2.503 MB / 1.163 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.243, allocations: 1.281 kB / 1.163 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/1.244, allocations: 86.42 kB / 1.163 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/1.244, allocations: 210.4 kB / 1.163 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/1.245, allocations: 22.95 kB / 1.163 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.246, allocations: 0.7733 MB / 1.164 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.246, allocations: 5.312 kB / 1.164 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/1.25, allocations: 1.2 MB / 1.165 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.251, allocations: 355.3 kB / 1.165 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/1.251, allocations: 12.47 kB / 1.165 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/1.252, allocations: 76.78 kB / 1.165 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.252, allocations: 39.53 kB / 1.165 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/1.252, allocations: 26.27 kB / 1.165 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002041/1.254, allocations: 1.083 MB / 1.167 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/1.254, allocations: 4 kB / 1.167 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002408/1.257, allocations: 444.7 kB / 1.167 GB, free: 11.75 MB / 0.8731 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.001694/1.258, allocations: 487.5 kB / 1.167 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003074/1.261, allocations: 0.853 MB / 1.168 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.261, allocations: 1 kB / 1.168 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.263, allocations: 441.3 kB / 1.169 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/1.267, allocations: 0.737 MB / 1.169 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/1.272, allocations: 2.24 MB / 1.172 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/1.273, allocations: 1.167 MB / 1.173 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001392/1.274, allocations: 273.5 kB / 1.173 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/1.275, allocations: 112.2 kB / 1.173 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of SimCode: time 1.122e-06/1.275, allocations: 0 / 1.173 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of Templates: time 0.05721/1.332, allocations: 31.51 MB / 1.204 GB, free: 11.24 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches