Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 108 kB / 15.61 MB, free: 148 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.001209/0.001209, allocations: 193.7 kB / 16.53 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.7 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3724, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1193/0.4917, allocations: 132.3 MB / 1.197 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03099/0.5227, allocations: 23.22 MB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004825/0.5276, allocations: 123.2 kB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.5315, allocations: 1.494 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.5421, allocations: 4.108 MB / 1.226 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005108/0.5472, allocations: 2.15 MB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008193/0.5554, allocations: 6.525 MB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/0.5586, allocations: 2.359 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.5648, allocations: 2.742 MB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.5677, allocations: 1.89 MB / 1.241 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.5681, allocations: 248 kB / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.5725, allocations: 1.934 MB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.573, allocations: 0.6031 MB / 1.244 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.5746, allocations: 1.458 MB / 1.245 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00591/0.5806, allocations: 4.312 MB / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5806, allocations: 0 / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5806, allocations: 4 kB / 1.249 GB, free: 408 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.393e-05/0.5806, allocations: 0 / 1.249 GB, free: 408 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.7851/1.366, allocations: 3.176 MB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.366, allocations: 8.875 kB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/1.371, allocations: 0.8452 MB / 1.253 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/1.376, allocations: 2.198 MB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/1.377, allocations: 291.8 kB / 1.256 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/1.377, allocations: 159.4 kB / 1.256 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/1.382, allocations: 1.942 MB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.382, allocations: 3.938 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/1.382, allocations: 66.78 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/1.382, allocations: 38.38 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/1.387, allocations: 1.826 MB / 1.26 GB, free: 179.4 MB / 0.9981 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.01488/1.402, allocations: 9.082 MB / 1.268 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/1.406, allocations: 1.199 MB / 1.27 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.407, allocations: 455.7 kB / 1.27 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/1.408, allocations: 1.728 MB / 1.272 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.408, allocations: 48.77 kB / 1.272 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/1.408, allocations: 1.688 kB / 1.272 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009495/1.418, allocations: 2.331 MB / 1.274 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.418, allocations: 85.33 kB / 1.274 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/1.423, allocations: 2.545 MB / 1.277 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002085/1.423, allocations: 45.14 kB / 1.277 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.424, allocations: 1.043 MB / 1.278 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/1.425, allocations: 275 kB / 1.278 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/1.425, allocations: 256.2 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/1.425, allocations: 352.5 kB / 1.279 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.427, allocations: 0.5865 MB / 1.279 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/1.43, allocations: 0.9684 MB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.433, allocations: 1.262 MB / 1.281 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.433, allocations: 2.562 kB / 1.281 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007548/1.441, allocations: 2.05 MB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.441, allocations: 7.594 kB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.441, allocations: 8.031 kB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.443, allocations: 497.5 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/1.444, allocations: 287.9 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/1.446, allocations: 1.515 MB / 1.286 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/1.45, allocations: 399.7 kB / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/1.45, allocations: 56.8 kB / 1.286 GB, free: 163.6 MB / 0.9981 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001292/1.451, allocations: 466.8 kB / 1.286 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/1.452, allocations: 258.6 kB / 1.287 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/1.457, allocations: 1.505 MB / 1.288 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/1.457, allocations: 14.38 kB / 1.288 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.457, allocations: 96 / 1.288 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.457, allocations: 9.172 kB / 1.288 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/1.466, allocations: 3.616 MB / 1.292 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.466, allocations: 2.5 kB / 1.292 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/1.467, allocations: 126.1 kB / 1.292 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/1.469, allocations: 494.6 kB / 1.292 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/1.469, allocations: 26.36 kB / 1.292 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/1.471, allocations: 1.589 MB / 1.294 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.471, allocations: 3.406 kB / 1.294 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/1.478, allocations: 1.936 MB / 1.296 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.48, allocations: 489.9 kB / 1.296 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.481, allocations: 26.67 kB / 1.296 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.483, allocations: 140 kB / 1.296 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.483, allocations: 61.73 kB / 1.296 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.483, allocations: 42.03 kB / 1.296 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004481/1.488, allocations: 1.787 MB / 1.298 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.488, allocations: 0 / 1.298 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003233/1.491, allocations: 0.6879 MB / 1.299 GB, free: 155.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/1.493, allocations: 0.6264 MB / 1.299 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004709/1.497, allocations: 1.401 MB / 1.301 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.498, allocations: 1.406 kB / 1.301 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.5, allocations: 0.6638 MB / 1.301 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007554/1.508, allocations: 1.339 MB / 1.303 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/1.515, allocations: 3.607 MB / 1.306 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.516, allocations: 1.496 MB / 1.308 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00251/1.519, allocations: 432 kB / 1.308 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/1.519, allocations: 173.2 kB / 1.308 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.519, allocations: 0 / 1.308 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.07321/1.592, allocations: 51.2 MB / 1.358 GB, free: 101.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches