Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001783/0.001783, allocations: 196.8 kB / 16.91 MB, free: 6.199 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 469.4 MB / 0.7423 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 78.75 kB / 0.9083 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3444, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.662/1.006, allocations: 74.52 MB / 1.136 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02037/1.027, allocations: 12.65 MB / 1.149 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/1.031, allocations: 60.69 kB / 1.149 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/1.034, allocations: 0.716 MB / 1.15 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008804/1.043, allocations: 2.295 MB / 1.152 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/1.047, allocations: 1.29 MB / 1.153 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00823/1.056, allocations: 4.415 MB / 1.157 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/1.059, allocations: 1.429 MB / 1.159 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005579/1.064, allocations: 1.63 MB / 1.16 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/1.068, allocations: 1.241 MB / 1.162 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007871/1.068, allocations: 166.5 kB / 1.162 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004974/1.073, allocations: 1.415 MB / 1.163 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/1.075, allocations: 407.9 kB / 1.164 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002926/1.077, allocations: 0.9004 MB / 1.164 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004624/1.082, allocations: 2.231 MB / 1.167 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.082, allocations: 1.688 kB / 1.167 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/1.082, allocations: 0 / 1.167 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001169/1.082, allocations: 0 / 1.167 GB, free: 5.734 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006689/1.089, allocations: 2.084 MB / 1.169 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.089, allocations: 9.375 kB / 1.169 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.09, allocations: 230.1 kB / 1.169 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/1.094, allocations: 1.492 MB / 1.17 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-05/1.094, allocations: 80.27 kB / 1.17 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/1.094, allocations: 99.66 kB / 1.171 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/1.097, allocations: 1.101 MB / 1.172 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/1.097, allocations: 9.141 kB / 1.172 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/1.097, allocations: 36.94 kB / 1.172 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/1.097, allocations: 29.47 kB / 1.172 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/1.1, allocations: 0.8819 MB / 1.173 GB, free: 1.664 MB / 0.8887 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.008523/1.108, allocations: 4.904 MB / 1.177 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.11, allocations: 0.6222 MB / 1.178 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/1.111, allocations: 352.7 kB / 1.178 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/1.111, allocations: 0.8237 MB / 1.179 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/1.112, allocations: 42.41 kB / 1.179 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 4.208e-06/1.112, allocations: 0 / 1.179 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.007671/1.119, allocations: 1.679 MB / 1.181 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.119, allocations: 57.44 kB / 1.181 GB, free: 11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/1.122, allocations: 1.214 MB / 1.182 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/1.122, allocations: 38.02 kB / 1.182 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000711/1.123, allocations: 0.6035 MB / 1.183 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.123, allocations: 215.3 kB / 1.183 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/1.124, allocations: 160.4 kB / 1.183 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.124, allocations: 332.5 kB / 1.183 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/1.125, allocations: 286.4 kB / 1.184 GB, free: 9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.126, allocations: 0.4921 MB / 1.184 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.127, allocations: 0.7122 MB / 1.185 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/1.127, allocations: 1.312 kB / 1.185 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005177/1.133, allocations: 1.276 MB / 1.186 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.133, allocations: 9.875 kB / 1.186 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.133, allocations: 4.469 kB / 1.186 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/1.133, allocations: 132.6 kB / 1.186 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/1.134, allocations: 159.2 kB / 1.186 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/1.135, allocations: 0.6981 MB / 1.187 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.137, allocations: 153.2 kB / 1.187 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/1.137, allocations: 35.77 kB / 1.187 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001376/1.138, allocations: 0.5504 MB / 1.188 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001005/1.139, allocations: 494.2 kB / 1.188 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/1.141, allocations: 0.7062 MB / 1.189 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/1.141, allocations: 0 / 1.189 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005082/1.146, allocations: 1.259 MB / 1.19 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.146, allocations: 7.719 kB / 1.19 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.146, allocations: 8.125 kB / 1.19 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/1.147, allocations: 132.9 kB / 1.19 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/1.147, allocations: 160.6 kB / 1.19 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008937/1.148, allocations: 0.694 MB / 1.191 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.15, allocations: 137.4 kB / 1.191 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.15, allocations: 34.39 kB / 1.191 GB, free: 4.074 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000386/1.15, allocations: 225.1 kB / 1.191 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006078/1.151, allocations: 131.4 kB / 1.192 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/1.156, allocations: 1.268 MB / 1.193 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.156, allocations: 11.77 kB / 1.193 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.156, allocations: 0 / 1.193 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004033/1.16, allocations: 1.101 MB / 1.194 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007899/1.168, allocations: 2.599 MB / 1.196 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.168, allocations: 11.78 kB / 1.196 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/1.169, allocations: 111.6 kB / 1.197 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/1.169, allocations: 131.9 kB / 1.197 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/1.169, allocations: 21.64 kB / 1.197 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/1.174, allocations: 2.586 MB / 1.199 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/1.174, allocations: 4 kB / 1.199 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/1.18, allocations: 1.703 MB / 1.201 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.181, allocations: 311.1 kB / 1.201 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/1.182, allocations: 16 kB / 1.201 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.183, allocations: 83.88 kB / 1.201 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.183, allocations: 56.31 kB / 1.201 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.184, allocations: 31.97 kB / 1.201 GB, free: 11.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001734/1.185, allocations: 0.8699 MB / 1.202 GB, free: 10.88 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.185, allocations: 3.938 kB / 1.202 GB, free: 10.88 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003283/1.189, allocations: 0.7135 MB / 1.203 GB, free: 10.16 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/1.19, allocations: 434.5 kB / 1.203 GB, free: 9.734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003255/1.193, allocations: 1.164 MB / 1.204 GB, free: 8.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.193, allocations: 0 / 1.204 GB, free: 8.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.195, allocations: 0.5603 MB / 1.205 GB, free: 8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/1.2, allocations: 0.8094 MB / 1.206 GB, free: 7.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/1.205, allocations: 2.785 MB / 1.208 GB, free: 4.352 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.206, allocations: 1.168 MB / 1.21 GB, free: 3.152 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/1.206, allocations: 115.4 kB / 1.21 GB, free: 3.039 MB / 0.92 GB Notification: Performance of SimCode: time 9.92e-07/1.206, allocations: 0 / 1.21 GB, free: 3.039 MB / 0.92 GB Notification: Performance of Templates: time 0.04852/1.255, allocations: 30.87 MB / 1.24 GB, free: 4.344 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches