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.001484/0.001484, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001767/0.001767, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.402/1.402, 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 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/0.8413, allocations: 140.4 MB / 1.089 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1674/1.009, allocations: 132.3 MB / 1.218 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03792/1.047, allocations: 23.23 MB / 1.24 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00587/1.053, allocations: 124.7 kB / 1.241 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005149/1.058, allocations: 1.5 MB / 1.242 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01431/1.072, allocations: 4.093 MB / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00719/1.079, allocations: 2.179 MB / 1.248 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01108/1.09, allocations: 6.537 MB / 1.255 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/1.095, allocations: 2.361 MB / 1.257 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007846/1.103, allocations: 2.796 MB / 1.26 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/1.107, allocations: 1.897 MB / 1.261 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.108, allocations: 248 kB / 1.262 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/1.114, allocations: 1.938 MB / 1.264 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.115, allocations: 0.6031 MB / 1.264 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003562/1.119, allocations: 1.454 MB / 1.266 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009289/1.128, allocations: 4.362 MB / 1.27 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.128, allocations: 0 / 1.27 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.309e-05/1.128, allocations: 0 / 1.27 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001338/1.129, allocations: 3.938 kB / 1.27 GB, free: 4.324 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.007651/1.136, allocations: 3.176 MB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.136, allocations: 12.03 kB / 1.273 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/1.141, allocations: 0.8397 MB / 1.274 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/1.147, allocations: 2.323 MB / 1.276 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.147, allocations: 127 kB / 1.276 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/1.148, allocations: 156 kB / 1.276 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/1.152, allocations: 1.923 MB / 1.278 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/1.153, allocations: 7.938 kB / 1.278 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.153, allocations: 60 kB / 1.278 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/1.153, allocations: 43.94 kB / 1.278 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005134/1.158, allocations: 1.796 MB / 1.28 GB, free: 9.637 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.01493/1.173, allocations: 8.993 MB / 1.289 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/1.178, allocations: 1.197 MB / 1.29 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/1.179, allocations: 466 kB / 1.29 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.18, allocations: 1.726 MB / 1.292 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.18, allocations: 42.56 kB / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/1.18, allocations: 0 / 1.292 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009477/1.19, allocations: 2.336 MB / 1.294 GB, free: 9.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/1.19, allocations: 85.11 kB / 1.295 GB, free: 9.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/1.195, allocations: 2.52 MB / 1.297 GB, free: 7.176 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002668/1.195, allocations: 45.7 kB / 1.297 GB, free: 7.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.197, allocations: 1.045 MB / 1.298 GB, free: 6.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/1.197, allocations: 268.1 kB / 1.298 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006887/1.198, allocations: 258.6 kB / 1.299 GB, free: 5.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.198, allocations: 341.9 kB / 1.299 GB, free: 5.203 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/1.2, allocations: 0.5764 MB / 1.299 GB, free: 4.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/1.202, allocations: 0.9543 MB / 1.3 GB, free: 3.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/1.206, allocations: 1.252 MB / 1.302 GB, free: 2.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.206, allocations: 4 kB / 1.302 GB, free: 2.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00742/1.213, allocations: 2.013 MB / 1.304 GB, free: 128 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/1.213, allocations: 11.98 kB / 1.304 GB, free: 116 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.213, allocations: 12.03 kB / 1.304 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/1.215, allocations: 499.7 kB / 1.304 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.217, allocations: 279.6 kB / 1.304 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/1.219, allocations: 1.522 MB / 1.306 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/1.222, allocations: 362 kB / 1.306 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/1.223, allocations: 59.97 kB / 1.306 GB, free: 13.35 MB / 1.045 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.001298/1.224, allocations: 465.4 kB / 1.307 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008847/1.225, allocations: 248.9 kB / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/1.229, allocations: 1.505 MB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.229, allocations: 20 kB / 1.308 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.229, allocations: 0 / 1.308 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.229, allocations: 3.984 kB / 1.308 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/1.239, allocations: 3.612 MB / 1.312 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.239, allocations: 4 kB / 1.312 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/1.239, allocations: 127.8 kB / 1.312 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.241, allocations: 499.8 kB / 1.313 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.241, allocations: 31.98 kB / 1.313 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.244, allocations: 1.585 MB / 1.314 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.244, allocations: 4 kB / 1.314 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/1.251, allocations: 1.939 MB / 1.316 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.252, allocations: 497.4 kB / 1.316 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.253, allocations: 20 kB / 1.316 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.255, allocations: 135.8 kB / 1.317 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.255, allocations: 63.8 kB / 1.317 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.255, allocations: 43.97 kB / 1.317 GB, free: 2.309 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003793/1.259, allocations: 1.769 MB / 1.318 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.61e-07/1.259, allocations: 0 / 1.318 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002617/1.262, allocations: 0.6906 MB / 1.319 GB, free: 15.84 MB / 1.061 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.001559/1.263, allocations: 0.6121 MB / 1.32 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004667/1.268, allocations: 1.35 MB / 1.321 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.268, allocations: 4 kB / 1.321 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.271, allocations: 0.6741 MB / 1.322 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007842/1.279, allocations: 1.328 MB / 1.323 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008111/1.287, allocations: 3.587 MB / 1.327 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.288, allocations: 1.478 MB / 1.328 GB, free: 6.719 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008246/1.289, allocations: 187.4 kB / 1.328 GB, free: 6.535 MB / 1.061 GB Notification: Performance of SimCode: time 8.71e-07/1.289, allocations: 0 / 1.328 GB, free: 6.535 MB / 1.061 GB Notification: Performance of Templates: time 0.08613/1.375, allocations: 62.76 MB / 1.389 GB, free: 8.129 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches