Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.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 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.ModularReversible.Validation.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.ModularReversible.Validation.Carnot_y") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.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.ModularReversible.Validation.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 92.78 kB / 15.36 MB, free: 0.7344 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.01022/0.01022, allocations: 169 kB / 16.26 MB, free: 6.68 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.127/3.127, allocations: 473.5 MB / 0.747 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003713, allocations: 8.656 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3949, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07073/0.4656, allocations: 73.68 MB / 1.146 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.484, allocations: 12.73 MB / 1.159 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.4869, allocations: 59.56 kB / 1.159 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.489, allocations: 0.6682 MB / 1.159 GB, free: 112 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006881/0.4959, allocations: 2.291 MB / 1.162 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.4994, allocations: 1.263 MB / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006798/0.5062, allocations: 5.585 MB / 1.168 GB, free: 6.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.5085, allocations: 1.155 MB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.5121, allocations: 1.326 MB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.5146, allocations: 1.135 MB / 1.172 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.5151, allocations: 56 kB / 1.172 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.5188, allocations: 1.243 MB / 1.173 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006447/0.5195, allocations: 298.5 kB / 1.173 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.5211, allocations: 0.8061 MB / 1.174 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005193/0.5263, allocations: 2.745 MB / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5263, allocations: 0 / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.477e-06/0.5263, allocations: 0 / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.5264, allocations: 0 / 1.177 GB, free: 14.13 MB / 0.9356 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.004792/0.5312, allocations: 1.807 MB / 1.179 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5312, allocations: 8.031 kB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/0.5322, allocations: 242.8 kB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.5349, allocations: 1.505 MB / 1.18 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.535, allocations: 78 kB / 1.18 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.5352, allocations: 100 kB / 1.18 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.5373, allocations: 1.128 MB / 1.181 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.5373, allocations: 0 / 1.181 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.5374, allocations: 43.88 kB / 1.182 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.5375, allocations: 28 kB / 1.182 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5394, allocations: 0.9251 MB / 1.182 GB, free: 8.125 MB / 0.9356 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.00608/0.5455, allocations: 4.928 MB / 1.187 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.5469, allocations: 0.6353 MB / 1.188 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.5477, allocations: 354.4 kB / 1.188 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/0.5483, allocations: 0.8316 MB / 1.189 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5484, allocations: 39.12 kB / 1.189 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.434e-06/0.5484, allocations: 4 kB / 1.189 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008266/0.5566, allocations: 1.927 MB / 1.191 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5567, allocations: 59.97 kB / 1.191 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.5585, allocations: 1.239 MB / 1.192 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/0.5586, allocations: 37.7 kB / 1.192 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.5591, allocations: 0.6145 MB / 1.193 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.5593, allocations: 216.8 kB / 1.193 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.5594, allocations: 69.67 kB / 1.193 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5596, allocations: 330 kB / 1.193 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.5603, allocations: 305.8 kB / 1.194 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008804/0.5612, allocations: 0.5093 MB / 1.194 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5627, allocations: 0.7403 MB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.5627, allocations: 0 / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005234/0.568, allocations: 1.41 MB / 1.196 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.5681, allocations: 186.1 kB / 1.197 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5681, allocations: 12 kB / 1.197 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.5688, allocations: 152.7 kB / 1.197 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.5695, allocations: 175.8 kB / 1.197 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008843/0.5704, allocations: 0.7006 MB / 1.198 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5718, allocations: 167.2 kB / 1.198 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.5719, allocations: 39.92 kB / 1.198 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.5719, allocations: 5.719 kB / 1.198 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004909/0.5768, allocations: 1.253 MB / 1.199 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5769, allocations: 0 / 1.199 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.5774, allocations: 153 kB / 1.199 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.5781, allocations: 167.8 kB / 1.199 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000866/0.579, allocations: 0.7045 MB / 1.2 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.5804, allocations: 167.1 kB / 1.2 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/0.5805, allocations: 28 kB / 1.2 GB, free: 5.199 MB / 0.9512 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.0007724/0.5813, allocations: 425.4 kB / 1.201 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.5816, allocations: 130.4 kB / 1.201 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.5868, allocations: 1.393 MB / 1.202 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.5869, allocations: 11.94 kB / 1.202 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5869, allocations: 4 kB / 1.202 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004768/0.5917, allocations: 1.228 MB / 1.203 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008257/0.6, allocations: 2.708 MB / 1.206 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.6, allocations: 4 kB / 1.206 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.6005, allocations: 120.3 kB / 1.206 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005889/0.6012, allocations: 144.7 kB / 1.206 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.6012, allocations: 19.98 kB / 1.206 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/0.6064, allocations: 2.447 MB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.6064, allocations: 8 kB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/0.6124, allocations: 1.848 MB / 1.21 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/0.6133, allocations: 335.2 kB / 1.211 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.6137, allocations: 16 kB / 1.211 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.6149, allocations: 103.2 kB / 1.211 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.615, allocations: 60.25 kB / 1.211 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.6151, allocations: 35.97 kB / 1.211 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001639/0.6168, allocations: 0.8864 MB / 1.212 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6168, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002487/0.6193, allocations: 0.7096 MB / 1.212 GB, free: 8.168 MB / 0.9669 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.001094/0.6204, allocations: 459.1 kB / 1.213 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.6233, allocations: 1.153 MB / 1.214 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6234, allocations: 4.469 kB / 1.214 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.625, allocations: 0.5991 MB / 1.215 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/0.63, allocations: 0.8058 MB / 1.215 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.6348, allocations: 2.829 MB / 1.218 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/0.6358, allocations: 1.187 MB / 1.219 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001459/0.6372, allocations: 305.6 kB / 1.22 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.6376, allocations: 115.4 kB / 1.22 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of SimCode: time 1.232e-06/0.6376, allocations: 0 / 1.22 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of Templates: time 0.05817/0.6958, allocations: 32.53 MB / 1.251 GB, free: 464 kB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches