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.001491/0.001491, allocations: 104.4 kB / 16.27 MB, free: 5.969 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.001822/0.001822, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.278/2.278, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.06 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2728, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1252/0.398, allocations: 132.3 MB / 1.079 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.6209/1.019, allocations: 23.21 MB / 1.102 GB, free: 44.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006353/1.025, allocations: 122 kB / 1.102 GB, free: 44.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00536/1.031, allocations: 1.492 MB / 1.104 GB, free: 44.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0156/1.046, allocations: 4.104 MB / 1.108 GB, free: 44.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007669/1.054, allocations: 2.147 MB / 1.11 GB, free: 44.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0131/1.067, allocations: 6.522 MB / 1.116 GB, free: 44.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0049/1.072, allocations: 2.362 MB / 1.118 GB, free: 44.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008635/1.081, allocations: 2.742 MB / 1.121 GB, free: 43.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005709/1.087, allocations: 1.895 MB / 1.123 GB, free: 43.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/1.088, allocations: 248.8 kB / 1.123 GB, free: 43.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00793/1.096, allocations: 1.929 MB / 1.125 GB, free: 43.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.097, allocations: 0.6017 MB / 1.126 GB, free: 42.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00387/1.101, allocations: 1.457 MB / 1.127 GB, free: 41.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/1.111, allocations: 4.314 MB / 1.131 GB, free: 40.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.111, allocations: 0 / 1.131 GB, free: 40.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.111, allocations: 4 kB / 1.131 GB, free: 40.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001174/1.112, allocations: 1.25 kB / 1.131 GB, free: 40.29 MB / 0.8575 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.008018/1.12, allocations: 3.181 MB / 1.134 GB, free: 38.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.12, allocations: 9.188 kB / 1.134 GB, free: 38.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/1.125, allocations: 0.8445 MB / 1.135 GB, free: 38.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/1.13, allocations: 2.2 MB / 1.137 GB, free: 36.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/1.131, allocations: 293.5 kB / 1.138 GB, free: 36.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/1.132, allocations: 161 kB / 1.138 GB, free: 36.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/1.137, allocations: 1.941 MB / 1.14 GB, free: 35.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/1.137, allocations: 4 kB / 1.14 GB, free: 35.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/1.137, allocations: 62.59 kB / 1.14 GB, free: 35.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/1.137, allocations: 37.44 kB / 1.14 GB, free: 35.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005498/1.143, allocations: 1.829 MB / 1.142 GB, free: 35.25 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.01481/1.157, allocations: 9.081 MB / 1.15 GB, free: 28.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/1.162, allocations: 1.194 MB / 1.152 GB, free: 28.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/1.163, allocations: 459.7 kB / 1.152 GB, free: 28.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/1.164, allocations: 1.725 MB / 1.154 GB, free: 26.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.164, allocations: 48.36 kB / 1.154 GB, free: 26.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/1.164, allocations: 0 / 1.154 GB, free: 26.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.00861/1.172, allocations: 2.342 MB / 1.156 GB, free: 24.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.173, allocations: 88.36 kB / 1.156 GB, free: 24.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.177, allocations: 2.538 MB / 1.159 GB, free: 23.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/1.177, allocations: 43.14 kB / 1.159 GB, free: 23.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000641/1.177, allocations: 1.045 MB / 1.16 GB, free: 22.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/1.178, allocations: 276.5 kB / 1.16 GB, free: 22.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/1.178, allocations: 266 kB / 1.16 GB, free: 22.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/1.178, allocations: 350 kB / 1.161 GB, free: 21.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/1.18, allocations: 0.5809 MB / 1.161 GB, free: 21.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/1.182, allocations: 0.9702 MB / 1.162 GB, free: 20.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/1.185, allocations: 1.254 MB / 1.163 GB, free: 19.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.185, allocations: 5.75 kB / 1.163 GB, free: 19.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006456/1.191, allocations: 2.054 MB / 1.165 GB, free: 18.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.191, allocations: 7.812 kB / 1.165 GB, free: 18.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.191, allocations: 10.5 kB / 1.165 GB, free: 18.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/1.193, allocations: 498.8 kB / 1.166 GB, free: 18.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.194, allocations: 289.2 kB / 1.166 GB, free: 18.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/1.196, allocations: 1.514 MB / 1.168 GB, free: 17.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.2, allocations: 399 kB / 1.168 GB, free: 17.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/1.2, allocations: 58 kB / 1.168 GB, free: 17.09 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 (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.0009276/1.201, allocations: 457.8 kB / 1.168 GB, free: 16.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/1.201, allocations: 257.6 kB / 1.169 GB, free: 16.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/1.205, allocations: 1.5 MB / 1.17 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.205, allocations: 10.69 kB / 1.17 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.205, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.205, allocations: 6.859 kB / 1.17 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/1.212, allocations: 3.619 MB / 1.174 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.212, allocations: 2.938 kB / 1.174 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/1.213, allocations: 134.9 kB / 1.174 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/1.214, allocations: 489.5 kB / 1.174 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/1.214, allocations: 26.8 kB / 1.174 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/1.217, allocations: 1.582 MB / 1.176 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.217, allocations: 3.062 kB / 1.176 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/1.223, allocations: 1.937 MB / 1.178 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.224, allocations: 499 kB / 1.178 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006555/1.225, allocations: 12.12 kB / 1.178 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.227, allocations: 149.9 kB / 1.178 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/1.227, allocations: 62.86 kB / 1.178 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.227, allocations: 43.94 kB / 1.179 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00273/1.23, allocations: 1.793 MB / 1.18 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.23, allocations: 3.938 kB / 1.18 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002308/1.232, allocations: 0.6907 MB / 1.181 GB, free: 8.887 MB / 0.8575 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.001088/1.233, allocations: 0.6198 MB / 1.182 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004346/1.237, allocations: 1.395 MB / 1.183 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.237, allocations: 0 / 1.183 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/1.24, allocations: 0.6751 MB / 1.184 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/1.246, allocations: 1.336 MB / 1.185 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/1.252, allocations: 3.648 MB / 1.188 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/1.252, allocations: 1.482 MB / 1.19 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/1.253, allocations: 187.4 kB / 1.19 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of SimCode: time 9.42e-07/1.253, allocations: 0 / 1.19 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Templates: time 0.08567/1.339, allocations: 62.54 MB / 1.251 GB, free: 2.98 MB / 0.92 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