Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 118 kB / 16.42 MB, free: 6.012 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.001584/0.001584, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.36/1.36, 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.476/2.476, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8544, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.2627/1.117, allocations: 255.8 MB / 1.417 GB, free: 3.109 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01644/1.134, allocations: 9.605 MB / 1.427 GB, free: 9.484 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/1.137, allocations: 75.56 kB / 1.427 GB, free: 9.41 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003094/1.14, allocations: 1.002 MB / 1.428 GB, free: 8.402 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007543/1.147, allocations: 2.766 MB / 1.43 GB, free: 5.625 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006182/1.154, allocations: 2.173 MB / 1.432 GB, free: 3.465 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006013/1.16, allocations: 4.155 MB / 1.436 GB, free: 15.3 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/1.162, allocations: 1.572 MB / 1.438 GB, free: 13.69 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/1.166, allocations: 2.028 MB / 1.44 GB, free: 11.65 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/1.169, allocations: 1.296 MB / 1.441 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000389/1.17, allocations: 180 kB / 1.441 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006787/1.177, allocations: 3.157 MB / 1.444 GB, free: 7.02 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007302/1.177, allocations: 0.5919 MB / 1.445 GB, free: 6.426 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/1.179, allocations: 1.042 MB / 1.446 GB, free: 5.379 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006861/1.186, allocations: 3.677 MB / 1.45 GB, free: 1.691 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.186, allocations: 8 kB / 1.45 GB, free: 1.684 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/1.186, allocations: 0 / 1.45 GB, free: 1.684 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.392e-05/1.186, allocations: 0 / 1.45 GB, free: 1.684 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004584/1.19, allocations: 2.471 MB / 1.452 GB, free: 15.13 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.19, allocations: 8.031 kB / 1.452 GB, free: 15.12 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/1.194, allocations: 0.6259 MB / 1.453 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/1.198, allocations: 1.437 MB / 1.454 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-05/1.198, allocations: 94.22 kB / 1.454 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/1.198, allocations: 123.9 kB / 1.454 GB, free: 12.79 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.201, allocations: 1.431 MB / 1.456 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/1.201, allocations: 0 / 1.456 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.201, allocations: 48 kB / 1.456 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/1.201, allocations: 42.22 kB / 1.456 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/1.204, allocations: 1.191 MB / 1.457 GB, free: 9.996 MB / 1.186 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.00867/1.212, allocations: 5.677 MB / 1.463 GB, free: 4 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.214, allocations: 1.03 MB / 1.464 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009866/1.215, allocations: 0.5258 MB / 1.464 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/1.216, allocations: 315.9 kB / 1.464 GB, free: 2.035 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/1.217, allocations: 0.5656 MB / 1.465 GB, free: 1.449 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 3.707e-06/1.217, allocations: 0 / 1.465 GB, free: 1.449 MB / 1.186 GB Notification: Performance of matching and sorting (n=92): time 0.008637/1.226, allocations: 3.511 MB / 1.468 GB, free: 13.83 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.226, allocations: 86.11 kB / 1.468 GB, free: 13.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.228, allocations: 1.35 MB / 1.47 GB, free: 12.37 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.228, allocations: 45.69 kB / 1.47 GB, free: 12.32 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/1.229, allocations: 0.7289 MB / 1.47 GB, free: 11.58 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/1.229, allocations: 315.5 kB / 1.471 GB, free: 11.27 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/1.23, allocations: 190.5 kB / 1.471 GB, free: 11.07 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.23, allocations: 345.9 kB / 1.471 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.231, allocations: 460.5 kB / 1.472 GB, free: 10.28 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.232, allocations: 0.6439 MB / 1.472 GB, free: 9.562 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.246, allocations: 3.321 MB / 1.476 GB, free: 6.148 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.246, allocations: 3.938 kB / 1.476 GB, free: 6.145 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00376/1.249, allocations: 1.515 MB / 1.477 GB, free: 4.602 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/1.25, allocations: 33.7 kB / 1.477 GB, free: 4.562 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.25, allocations: 4 kB / 1.477 GB, free: 4.559 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/1.25, allocations: 238.8 kB / 1.477 GB, free: 4.316 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/1.251, allocations: 199.7 kB / 1.478 GB, free: 4.121 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/1.256, allocations: 4.594 MB / 1.482 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.258, allocations: 72 kB / 1.482 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.258, allocations: 36 kB / 1.482 GB, free: 15.12 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001767/1.259, allocations: 0.7668 MB / 1.483 GB, free: 14.35 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00127/1.261, allocations: 0.6554 MB / 1.484 GB, free: 13.62 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01335/1.274, allocations: 3.275 MB / 1.487 GB, free: 10.25 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.454e-06/1.274, allocations: 0 / 1.487 GB, free: 10.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003382/1.278, allocations: 1.487 MB / 1.488 GB, free: 8.742 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/1.278, allocations: 40.05 kB / 1.488 GB, free: 8.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.278, allocations: 8 kB / 1.488 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/1.278, allocations: 206.8 kB / 1.488 GB, free: 8.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009201/1.279, allocations: 191.8 kB / 1.489 GB, free: 8.293 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/1.284, allocations: 5.787 MB / 1.494 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.286, allocations: 72 kB / 1.494 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.286, allocations: 39.98 kB / 1.494 GB, free: 1.969 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000412/1.286, allocations: 273.7 kB / 1.495 GB, free: 1.688 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/1.287, allocations: 162 kB / 1.495 GB, free: 1.527 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/1.29, allocations: 1.286 MB / 1.496 GB, free: 220 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002331/1.292, allocations: 1.143 MB / 1.497 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.292, allocations: 0 / 1.497 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/1.293, allocations: 343 kB / 1.497 GB, free: 14.68 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/1.293, allocations: 20 kB / 1.497 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.295, allocations: 65.03 kB / 1.498 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.295, allocations: 64.86 kB / 1.498 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003362/1.298, allocations: 1.358 MB / 1.499 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003927/1.302, allocations: 1.957 MB / 1.501 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001012/1.303, allocations: 0.5192 MB / 1.501 GB, free: 10.64 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001543/1.305, allocations: 0.9216 MB / 1.502 GB, free: 9.723 MB / 1.232 GB Notification: Performance of Backend: time 7.71e-07/1.305, allocations: 0 / 1.502 GB, free: 9.723 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006722/1.311, allocations: 2.813 MB / 1.505 GB, free: 6.824 MB / 1.232 GB Notification: Performance of SimCode: time 0.007065/1.319, allocations: 3.854 MB / 1.509 GB, free: 2.922 MB / 1.232 GB Notification: Performance of Templates: time 0.06654/1.385, allocations: 42.39 MB / 1.55 GB, free: 8.836 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches