Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001992/0.001993, allocations: 110 kB / 16.42 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.00193/0.00193, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7481, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07341/0.8216, allocations: 75.26 MB / 1.241 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.8435, allocations: 15.15 MB / 1.256 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.8464, allocations: 67.56 kB / 1.256 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.8492, allocations: 0.8619 MB / 1.257 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/0.8566, allocations: 2.716 MB / 1.259 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.8604, allocations: 1.411 MB / 1.261 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005739/0.8661, allocations: 4.404 MB / 1.265 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.8686, allocations: 1.441 MB / 1.266 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.8724, allocations: 1.676 MB / 1.268 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.8746, allocations: 1.219 MB / 1.269 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.8752, allocations: 160 kB / 1.269 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.8786, allocations: 1.412 MB / 1.271 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006415/0.8793, allocations: 398.6 kB / 1.271 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.8811, allocations: 0.9099 MB / 1.272 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.8862, allocations: 2.857 MB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8862, allocations: 0 / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8862, allocations: 0 / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.88e-05/0.8863, allocations: 0 / 1.275 GB, free: 5.531 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004722/0.8911, allocations: 2.079 MB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.8911, allocations: 8.922 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/0.8921, allocations: 234.8 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/0.8949, allocations: 1.513 MB / 1.278 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.895, allocations: 81.98 kB / 1.278 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.8951, allocations: 108 kB / 1.279 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.8973, allocations: 1.1 MB / 1.28 GB, free: 264 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.8973, allocations: 3.938 kB / 1.28 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.8974, allocations: 44 kB / 1.28 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.8975, allocations: 24 kB / 1.28 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.8994, allocations: 0.89 MB / 1.281 GB, free: 15.29 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.005781/0.9052, allocations: 4.896 MB / 1.285 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9066, allocations: 0.6158 MB / 1.286 GB, free: 9.488 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.9073, allocations: 358.3 kB / 1.286 GB, free: 9.137 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.9079, allocations: 0.8238 MB / 1.287 GB, free: 8.129 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.9079, allocations: 47.12 kB / 1.287 GB, free: 8.074 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.354e-06/0.908, allocations: 0 / 1.287 GB, free: 8.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007406/0.9154, allocations: 1.693 MB / 1.289 GB, free: 6.355 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.9154, allocations: 59.97 kB / 1.289 GB, free: 6.285 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.917, allocations: 1.218 MB / 1.29 GB, free: 5.051 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.917, allocations: 41.7 kB / 1.29 GB, free: 5.004 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.9175, allocations: 0.6065 MB / 1.291 GB, free: 4.391 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.9177, allocations: 220.8 kB / 1.291 GB, free: 4.172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.918, allocations: 150.6 kB / 1.291 GB, free: 4.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.9181, allocations: 334 kB / 1.291 GB, free: 3.688 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.9188, allocations: 288.7 kB / 1.292 GB, free: 3.402 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.9196, allocations: 0.5027 MB / 1.292 GB, free: 2.824 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.921, allocations: 0.7012 MB / 1.293 GB, free: 2.074 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.921, allocations: 7.938 kB / 1.293 GB, free: 2.066 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004757/0.9258, allocations: 1.281 MB / 1.294 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9258, allocations: 4 kB / 1.294 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9259, allocations: 7.938 kB / 1.294 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.9265, allocations: 145 kB / 1.294 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.9271, allocations: 151.8 kB / 1.294 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008341/0.9279, allocations: 0.7122 MB / 1.295 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.929, allocations: 119.1 kB / 1.295 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.9291, allocations: 35.98 kB / 1.295 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/0.9302, allocations: 0.5526 MB / 1.296 GB, free: 15.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008234/0.931, allocations: 496.7 kB / 1.296 GB, free: 14.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.9324, allocations: 0.7051 MB / 1.297 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/0.9324, allocations: 3.984 kB / 1.297 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004797/0.9372, allocations: 1.273 MB / 1.298 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9372, allocations: 6.5 kB / 1.298 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.9373, allocations: 4 kB / 1.298 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/0.9378, allocations: 140.8 kB / 1.298 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.9384, allocations: 151.8 kB / 1.298 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007808/0.9392, allocations: 0.7045 MB / 1.299 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.9402, allocations: 107.4 kB / 1.299 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.9403, allocations: 27.98 kB / 1.299 GB, free: 11.25 MB / 1.029 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.9405, allocations: 228.1 kB / 1.3 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.9408, allocations: 130.4 kB / 1.3 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.9457, allocations: 1.268 MB / 1.301 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004198/0.9499, allocations: 1.103 MB / 1.302 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9499, allocations: 0 / 1.302 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000702/0.9506, allocations: 299.2 kB / 1.302 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.951, allocations: 12 kB / 1.302 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.9519, allocations: 51.88 kB / 1.302 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.952, allocations: 48.48 kB / 1.302 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00277/0.9548, allocations: 0.9676 MB / 1.303 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002736/0.9575, allocations: 1.334 MB / 1.305 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007763/0.9583, allocations: 324.3 kB / 1.305 GB, free: 5.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001836/0.9602, allocations: 0.8616 MB / 1.306 GB, free: 4.547 MB / 1.029 GB Notification: Performance of Backend: time 5.92e-07/0.9602, allocations: 0 / 1.306 GB, free: 4.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004961/0.9651, allocations: 1.379 MB / 1.307 GB, free: 3.164 MB / 1.029 GB Notification: Performance of SimCode: time 0.006181/0.9713, allocations: 3.142 MB / 1.31 GB, free: 15.98 MB / 1.045 GB Notification: Performance of Templates: time 0.05458/1.026, allocations: 33.61 MB / 1.343 GB, free: 14.68 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches