Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001791/0.001791, allocations: 107.4 kB / 16.41 MB, free: 6.387 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.002185/0.002185, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.868, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.2764/1.144, allocations: 255.8 MB / 1.476 GB, free: 12.76 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02435/1.169, allocations: 9.603 MB / 1.486 GB, free: 3.133 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/1.173, allocations: 75.56 kB / 1.486 GB, free: 3.059 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004724/1.178, allocations: 0.9902 MB / 1.487 GB, free: 2.062 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/1.189, allocations: 2.761 MB / 1.489 GB, free: 15.29 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008925/1.198, allocations: 2.183 MB / 1.491 GB, free: 13.12 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01017/1.208, allocations: 4.147 MB / 1.495 GB, free: 8.965 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004055/1.212, allocations: 1.576 MB / 1.497 GB, free: 7.348 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007052/1.22, allocations: 2.032 MB / 1.499 GB, free: 5.309 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/1.224, allocations: 1.308 MB / 1.5 GB, free: 4.004 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006414/1.225, allocations: 183.9 kB / 1.5 GB, free: 3.824 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009652/1.234, allocations: 3.149 MB / 1.504 GB, free: 0.668 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/1.236, allocations: 0.5959 MB / 1.504 GB, free: 72 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/1.238, allocations: 1.03 MB / 1.505 GB, free: 15.04 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.249, allocations: 3.698 MB / 1.509 GB, free: 11.32 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.25, allocations: 0 / 1.509 GB, free: 11.32 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.093e-06/1.25, allocations: 0 / 1.509 GB, free: 11.32 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.78e-05/1.25, allocations: 0 / 1.509 GB, free: 11.32 MB / 1.232 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.006789/1.256, allocations: 2.55 MB / 1.511 GB, free: 8.691 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/1.256, allocations: 8.031 kB / 1.511 GB, free: 8.684 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/1.263, allocations: 0.6387 MB / 1.512 GB, free: 8.043 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/1.267, allocations: 1.451 MB / 1.513 GB, free: 6.539 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/1.267, allocations: 86.28 kB / 1.513 GB, free: 6.453 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/1.268, allocations: 139.9 kB / 1.513 GB, free: 6.316 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/1.272, allocations: 1.424 MB / 1.515 GB, free: 4.824 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/1.272, allocations: 0 / 1.515 GB, free: 4.824 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/1.272, allocations: 51.94 kB / 1.515 GB, free: 4.773 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/1.272, allocations: 38.22 kB / 1.515 GB, free: 4.734 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003926/1.276, allocations: 1.188 MB / 1.516 GB, free: 3.539 MB / 1.232 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.01273/1.289, allocations: 5.698 MB / 1.522 GB, free: 13.52 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/1.292, allocations: 1.025 MB / 1.523 GB, free: 12.45 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/1.294, allocations: 0.5292 MB / 1.523 GB, free: 11.92 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008271/1.294, allocations: 315.9 kB / 1.523 GB, free: 11.55 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/1.296, allocations: 0.5621 MB / 1.524 GB, free: 10.97 MB / 1.248 GB Notification: Performance of pre-optimization done (n=85): time 6.983e-06/1.296, allocations: 0 / 1.524 GB, free: 10.97 MB / 1.248 GB Notification: Performance of matching and sorting (n=92): time 0.01274/1.309, allocations: 3.541 MB / 1.527 GB, free: 7.328 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.309, allocations: 94.11 kB / 1.528 GB, free: 7.215 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/1.312, allocations: 1.342 MB / 1.529 GB, free: 5.863 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.312, allocations: 45.7 kB / 1.529 GB, free: 5.812 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009983/1.313, allocations: 0.7455 MB / 1.53 GB, free: 5.059 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/1.314, allocations: 333.1 kB / 1.53 GB, free: 4.73 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/1.314, allocations: 190.6 kB / 1.53 GB, free: 4.539 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.314, allocations: 345.9 kB / 1.531 GB, free: 4.195 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.316, allocations: 460.6 kB / 1.531 GB, free: 3.742 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.318, allocations: 0.6477 MB / 1.532 GB, free: 3.023 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/1.338, allocations: 3.314 MB / 1.535 GB, free: 15.61 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.338, allocations: 7.984 kB / 1.535 GB, free: 15.61 MB / 1.264 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00531/1.343, allocations: 1.523 MB / 1.536 GB, free: 14.06 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/1.343, allocations: 33.7 kB / 1.536 GB, free: 14.02 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.343, allocations: 4 kB / 1.536 GB, free: 14.02 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.344, allocations: 230.8 kB / 1.537 GB, free: 13.78 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.346, allocations: 207.7 kB / 1.537 GB, free: 13.58 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/1.353, allocations: 4.602 MB / 1.541 GB, free: 8.668 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.355, allocations: 68 kB / 1.541 GB, free: 8.602 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/1.356, allocations: 40 kB / 1.541 GB, free: 8.562 MB / 1.264 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.002793/1.358, allocations: 0.7635 MB / 1.542 GB, free: 7.793 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001736/1.36, allocations: 0.6477 MB / 1.543 GB, free: 7.074 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01982/1.38, allocations: 3.275 MB / 1.546 GB, free: 3.703 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.011e-05/1.38, allocations: 3.938 kB / 1.546 GB, free: 3.699 MB / 1.264 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.005108/1.385, allocations: 1.488 MB / 1.547 GB, free: 2.188 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/1.385, allocations: 41.7 kB / 1.547 GB, free: 2.141 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.385, allocations: 4.125 kB / 1.547 GB, free: 2.137 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007895/1.386, allocations: 206.8 kB / 1.548 GB, free: 1.926 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.388, allocations: 191.7 kB / 1.548 GB, free: 1.738 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007633/1.395, allocations: 5.789 MB / 1.553 GB, free: 11.53 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.397, allocations: 72 kB / 1.554 GB, free: 11.46 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.398, allocations: 43.98 kB / 1.554 GB, free: 11.41 MB / 1.279 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.0005134/1.398, allocations: 279.5 kB / 1.554 GB, free: 11.13 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/1.399, allocations: 170.9 kB / 1.554 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/1.403, allocations: 1.282 MB / 1.555 GB, free: 9.652 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0034/1.406, allocations: 1.143 MB / 1.556 GB, free: 8.469 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.406, allocations: 0 / 1.556 GB, free: 8.469 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.407, allocations: 347.9 kB / 1.557 GB, free: 8.109 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/1.408, allocations: 20 kB / 1.557 GB, free: 8.09 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.409, allocations: 63.94 kB / 1.557 GB, free: 8.027 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.41, allocations: 52.92 kB / 1.557 GB, free: 7.973 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004862/1.414, allocations: 1.366 MB / 1.558 GB, free: 6.582 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005655/1.42, allocations: 1.966 MB / 1.56 GB, free: 4.586 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001551/1.422, allocations: 0.5231 MB / 1.561 GB, free: 4.066 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002179/1.424, allocations: 0.9177 MB / 1.561 GB, free: 3.152 MB / 1.279 GB Notification: Performance of Backend: time 6.61e-07/1.424, allocations: 0 / 1.561 GB, free: 3.152 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009303/1.433, allocations: 2.821 MB / 1.564 GB, free: 252 kB / 1.279 GB Notification: Performance of SimCode: time 0.8133/2.246, allocations: 3.905 MB / 1.568 GB, free: 334.3 MB / 1.279 GB Notification: Performance of Templates: time 0.06827/2.315, allocations: 42.4 MB / 1.609 GB, free: 309 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches