Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.01088/0.01088, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.002244/0.002244, allocations: 188.5 kB / 16.67 MB, free: 5.918 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.506/2.506, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 72.02 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3631, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1249/0.4881, allocations: 132.3 MB / 1.217 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03531/0.5235, allocations: 23.22 MB / 1.24 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006417/0.53, allocations: 131.2 kB / 1.24 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005539/0.5355, allocations: 1.537 MB / 1.241 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01523/0.5508, allocations: 4.314 MB / 1.246 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007619/0.5585, allocations: 2.179 MB / 1.248 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.5704, allocations: 6.555 MB / 1.254 GB, free: 6.789 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005067/0.5755, allocations: 2.359 MB / 1.256 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009249/0.5848, allocations: 2.809 MB / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8935/1.478, allocations: 1.886 MB / 1.261 GB, free: 50.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/1.48, allocations: 250.4 kB / 1.261 GB, free: 50.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007229/1.487, allocations: 1.939 MB / 1.263 GB, free: 50.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/1.488, allocations: 0.6005 MB / 1.264 GB, free: 50.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003788/1.492, allocations: 1.461 MB / 1.265 GB, free: 50.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/1.505, allocations: 4.356 MB / 1.269 GB, free: 50.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.505, allocations: 0.75 kB / 1.269 GB, free: 50.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/1.505, allocations: 0 / 1.269 GB, free: 50.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001288/1.505, allocations: 0.5938 kB / 1.269 GB, free: 50.86 MB / 1.014 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.0103/1.516, allocations: 3.183 MB / 1.273 GB, free: 49.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/1.516, allocations: 13.12 kB / 1.273 GB, free: 49.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005325/1.521, allocations: 0.838 MB / 1.273 GB, free: 49.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006751/1.528, allocations: 2.314 MB / 1.276 GB, free: 48.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/1.528, allocations: 126.5 kB / 1.276 GB, free: 48.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/1.528, allocations: 159.5 kB / 1.276 GB, free: 48.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004794/1.533, allocations: 1.927 MB / 1.278 GB, free: 48.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/1.533, allocations: 3.875 kB / 1.278 GB, free: 48.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/1.533, allocations: 64.84 kB / 1.278 GB, free: 48.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/1.533, allocations: 38.16 kB / 1.278 GB, free: 48.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005243/1.539, allocations: 1.797 MB / 1.28 GB, free: 48.42 MB / 1.014 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.01609/1.555, allocations: 8.983 MB / 1.288 GB, free: 44.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004461/1.559, allocations: 1.2 MB / 1.29 GB, free: 44.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.56, allocations: 468.7 kB / 1.29 GB, free: 43.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/1.561, allocations: 1.722 MB / 1.292 GB, free: 42.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.561, allocations: 41.81 kB / 1.292 GB, free: 41.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.561, allocations: 0 / 1.292 GB, free: 41.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.009118/1.571, allocations: 2.341 MB / 1.294 GB, free: 41.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.571, allocations: 85.23 kB / 1.294 GB, free: 41.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/1.576, allocations: 2.527 MB / 1.297 GB, free: 41.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.576, allocations: 42.17 kB / 1.297 GB, free: 41.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008482/1.577, allocations: 1.043 MB / 1.298 GB, free: 40.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/1.577, allocations: 266.3 kB / 1.298 GB, free: 40.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004841/1.578, allocations: 255 kB / 1.298 GB, free: 40.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.578, allocations: 348.4 kB / 1.298 GB, free: 40.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.579, allocations: 0.5748 MB / 1.299 GB, free: 40.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/1.582, allocations: 0.9536 MB / 1.3 GB, free: 39.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/1.585, allocations: 1.249 MB / 1.301 GB, free: 39.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.585, allocations: 1.438 kB / 1.301 GB, free: 39.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.008068/1.593, allocations: 2.026 MB / 1.303 GB, free: 39.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/1.593, allocations: 17.09 kB / 1.303 GB, free: 39.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.593, allocations: 7.562 kB / 1.303 GB, free: 39.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/1.595, allocations: 496.4 kB / 1.304 GB, free: 39.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/1.597, allocations: 287 kB / 1.304 GB, free: 39.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/1.599, allocations: 1.507 MB / 1.305 GB, free: 38.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/1.603, allocations: 367.8 kB / 1.306 GB, free: 38.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/1.603, allocations: 63.45 kB / 1.306 GB, free: 38.2 MB / 1.014 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.001359/1.604, allocations: 459.8 kB / 1.306 GB, free: 38.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007867/1.605, allocations: 254.7 kB / 1.306 GB, free: 37.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/1.609, allocations: 1.499 MB / 1.308 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/1.609, allocations: 14.88 kB / 1.308 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.609, allocations: 1 kB / 1.308 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/1.609, allocations: 4.797 kB / 1.308 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.619, allocations: 3.626 MB / 1.312 GB, free: 37.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.619, allocations: 2.906 kB / 1.312 GB, free: 37.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/1.62, allocations: 127.5 kB / 1.312 GB, free: 37.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/1.623, allocations: 488.5 kB / 1.312 GB, free: 37.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/1.623, allocations: 24.41 kB / 1.312 GB, free: 37.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/1.626, allocations: 1.587 MB / 1.314 GB, free: 36.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/1.626, allocations: 6.156 kB / 1.314 GB, free: 36.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/1.635, allocations: 1.938 MB / 1.316 GB, free: 35.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/1.637, allocations: 486.5 kB / 1.316 GB, free: 35.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.639, allocations: 19.38 kB / 1.316 GB, free: 35.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/1.642, allocations: 142.2 kB / 1.316 GB, free: 35.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.642, allocations: 66.34 kB / 1.316 GB, free: 35.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.642, allocations: 41.33 kB / 1.316 GB, free: 35.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004806/1.647, allocations: 1.773 MB / 1.318 GB, free: 35.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.41e-07/1.647, allocations: 0 / 1.318 GB, free: 35.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005215/1.652, allocations: 0.6956 MB / 1.319 GB, free: 35.1 MB / 1.014 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.002396/1.655, allocations: 0.6227 MB / 1.319 GB, free: 34.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006397/1.661, allocations: 1.35 MB / 1.321 GB, free: 34.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.661, allocations: 0 / 1.321 GB, free: 34.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/1.665, allocations: 0.6731 MB / 1.321 GB, free: 34.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/1.677, allocations: 1.33 MB / 1.323 GB, free: 34.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.688, allocations: 3.539 MB / 1.326 GB, free: 33.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.69, allocations: 1.491 MB / 1.328 GB, free: 32.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003722/1.694, allocations: 433.3 kB / 1.328 GB, free: 32.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/1.695, allocations: 171.9 kB / 1.328 GB, free: 32.32 MB / 1.014 GB Notification: Performance of SimCode: time 1.393e-06/1.695, allocations: 3.938 kB / 1.328 GB, free: 32.32 MB / 1.014 GB Notification: Performance of Templates: time 0.1119/1.806, allocations: 48.81 MB / 1.376 GB, free: 0.5742 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches