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.00135/0.00135, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001253/0.001253, allocations: 193.6 kB / 16.26 MB, free: 6.152 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.38 kB / 0.9115 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1289/0.5002, allocations: 131.1 MB / 1.196 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03472/0.5349, allocations: 23.06 MB / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005928/0.5409, allocations: 115.2 kB / 1.218 GB, free: 32 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005012/0.5459, allocations: 1.286 MB / 1.22 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.5595, allocations: 3.826 MB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.5652, allocations: 1.979 MB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01113/0.5763, allocations: 6.588 MB / 1.232 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00528/0.5816, allocations: 2.347 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008649/0.5903, allocations: 2.771 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.5948, allocations: 1.933 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.5958, allocations: 244 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/0.6013, allocations: 1.957 MB / 1.241 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.6027, allocations: 0.607 MB / 1.241 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00376/0.6064, allocations: 1.462 MB / 1.243 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.6165, allocations: 4.331 MB / 1.247 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.6166, allocations: 8 kB / 1.247 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6166, allocations: 3.938 kB / 1.247 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001704/0.6168, allocations: 0 / 1.247 GB, free: 2.57 MB / 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.5897/1.206, allocations: 3.175 MB / 1.25 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.207, allocations: 9.344 kB / 1.25 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/1.212, allocations: 0.8423 MB / 1.251 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005839/1.218, allocations: 2.257 MB / 1.253 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/1.219, allocations: 291.2 kB / 1.253 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/1.219, allocations: 167.2 kB / 1.254 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/1.224, allocations: 1.932 MB / 1.255 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/1.224, allocations: 8.719 kB / 1.255 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/1.224, allocations: 62.91 kB / 1.256 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/1.224, allocations: 37.56 kB / 1.256 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004771/1.229, allocations: 1.829 MB / 1.257 GB, free: 179.3 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.01426/1.243, allocations: 9.036 MB / 1.266 GB, free: 173 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/1.247, allocations: 1.193 MB / 1.267 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.248, allocations: 462.9 kB / 1.268 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008726/1.249, allocations: 1.722 MB / 1.269 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.249, allocations: 48.41 kB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.487e-06/1.249, allocations: 2.062 kB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009159/1.259, allocations: 2.331 MB / 1.272 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/1.259, allocations: 85 kB / 1.272 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/1.264, allocations: 2.518 MB / 1.274 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/1.264, allocations: 48.55 kB / 1.274 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008397/1.265, allocations: 1.055 MB / 1.275 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000302/1.265, allocations: 266.3 kB / 1.276 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/1.266, allocations: 256.4 kB / 1.276 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.266, allocations: 351.3 kB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/1.268, allocations: 0.5868 MB / 1.277 GB, free: 167 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/1.27, allocations: 0.965 MB / 1.278 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/1.273, allocations: 1.266 MB / 1.279 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.273, allocations: 2.281 kB / 1.279 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007158/1.28, allocations: 2.049 MB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.28, allocations: 7.188 kB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.28, allocations: 8.219 kB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/1.283, allocations: 492.2 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.284, allocations: 291.6 kB / 1.282 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/1.286, allocations: 1.515 MB / 1.283 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/1.29, allocations: 432.4 kB / 1.284 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.29, allocations: 64.61 kB / 1.284 GB, free: 163.5 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.001029/1.291, allocations: 467.5 kB / 1.284 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/1.292, allocations: 247.3 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/1.295, allocations: 1.51 MB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/1.295, allocations: 14.25 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.295, allocations: 1.188 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.295, allocations: 11.02 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007432/1.303, allocations: 3.609 MB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.303, allocations: 3.844 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/1.303, allocations: 131.5 kB / 1.29 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/1.305, allocations: 487.2 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/1.305, allocations: 29.06 kB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/1.307, allocations: 1.584 MB / 1.292 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.307, allocations: 7.719 kB / 1.292 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/1.314, allocations: 1.936 MB / 1.293 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.315, allocations: 489.4 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/1.315, allocations: 18.72 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.317, allocations: 172.7 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.317, allocations: 61.17 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.803e-05/1.317, allocations: 42.78 kB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003241/1.321, allocations: 1.767 MB / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.321, allocations: 1.062 kB / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002588/1.323, allocations: 0.6779 MB / 1.297 GB, free: 155.8 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.001337/1.324, allocations: 0.606 MB / 1.297 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004384/1.329, allocations: 1.4 MB / 1.299 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.329, allocations: 1.531 kB / 1.299 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.331, allocations: 0.6708 MB / 1.299 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006858/1.338, allocations: 1.34 MB / 1.301 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/1.345, allocations: 4.315 MB / 1.305 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/1.346, allocations: 1.491 MB / 1.306 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002336/1.348, allocations: 432.9 kB / 1.307 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/1.348, allocations: 169.8 kB / 1.307 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.202e-06/1.348, allocations: 0 / 1.307 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.07703/1.425, allocations: 50.48 MB / 1.356 GB, free: 102.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