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 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.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.001266/0.001266, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.001406/0.001406, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.349/1.349, 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 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 64.09 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.8502, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.2714/1.122, allocations: 255.8 MB / 1.458 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01705/1.139, allocations: 9.593 MB / 1.468 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/1.141, allocations: 79.5 kB / 1.468 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/1.144, allocations: 0.998 MB / 1.469 GB, free: 2.203 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/1.151, allocations: 2.765 MB / 1.471 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/1.157, allocations: 2.167 MB / 1.473 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005631/1.162, allocations: 4.166 MB / 1.478 GB, free: 9.094 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/1.165, allocations: 1.568 MB / 1.479 GB, free: 7.492 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/1.169, allocations: 2.032 MB / 1.481 GB, free: 5.453 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/1.171, allocations: 1.301 MB / 1.482 GB, free: 4.152 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003138/1.171, allocations: 176 kB / 1.483 GB, free: 3.98 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005634/1.177, allocations: 3.157 MB / 1.486 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006953/1.178, allocations: 0.5958 MB / 1.486 GB, free: 224 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/1.179, allocations: 1.03 MB / 1.487 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006175/1.185, allocations: 3.685 MB / 1.491 GB, free: 11.49 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.185, allocations: 0 / 1.491 GB, free: 11.49 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.363e-06/1.185, allocations: 0 / 1.491 GB, free: 11.49 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.643e-05/1.185, allocations: 0 / 1.491 GB, free: 11.49 MB / 1.217 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.004199/1.19, allocations: 2.475 MB / 1.493 GB, free: 8.934 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.19, allocations: 12.03 kB / 1.493 GB, free: 8.922 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/1.193, allocations: 0.6297 MB / 1.494 GB, free: 8.289 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/1.196, allocations: 1.437 MB / 1.495 GB, free: 6.797 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/1.196, allocations: 94.27 kB / 1.495 GB, free: 6.703 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/1.196, allocations: 127.9 kB / 1.495 GB, free: 6.578 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/1.199, allocations: 1.424 MB / 1.497 GB, free: 5.086 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/1.199, allocations: 0 / 1.497 GB, free: 5.086 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.199, allocations: 48 kB / 1.497 GB, free: 5.039 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/1.199, allocations: 42.22 kB / 1.497 GB, free: 4.996 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/1.202, allocations: 1.195 MB / 1.498 GB, free: 3.793 MB / 1.217 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.007885/1.21, allocations: 5.677 MB / 1.504 GB, free: 13.79 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.212, allocations: 1.032 MB / 1.505 GB, free: 12.71 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.213, allocations: 0.5292 MB / 1.505 GB, free: 12.18 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005986/1.213, allocations: 307.9 kB / 1.505 GB, free: 11.83 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/1.215, allocations: 0.5696 MB / 1.506 GB, free: 11.24 MB / 1.232 GB Notification: Performance of pre-optimization done (n=85): time 3.266e-06/1.215, allocations: 0 / 1.506 GB, free: 11.24 MB / 1.232 GB Notification: Performance of matching and sorting (n=92): time 0.008698/1.223, allocations: 3.513 MB / 1.509 GB, free: 7.621 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.223, allocations: 94.11 kB / 1.51 GB, free: 7.512 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/1.226, allocations: 1.346 MB / 1.511 GB, free: 6.156 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.226, allocations: 45.7 kB / 1.511 GB, free: 6.105 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/1.226, allocations: 0.725 MB / 1.512 GB, free: 5.371 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/1.227, allocations: 315.5 kB / 1.512 GB, free: 5.059 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/1.227, allocations: 190.5 kB / 1.512 GB, free: 4.867 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.227, allocations: 345.9 kB / 1.512 GB, free: 4.523 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.228, allocations: 460.6 kB / 1.513 GB, free: 4.07 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/1.229, allocations: 0.6477 MB / 1.513 GB, free: 3.352 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.243, allocations: 3.314 MB / 1.517 GB, free: 15.94 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.243, allocations: 0 / 1.517 GB, free: 15.94 MB / 1.248 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003546/1.247, allocations: 1.515 MB / 1.518 GB, free: 14.4 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/1.247, allocations: 43.5 kB / 1.518 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.247, allocations: 4.438 kB / 1.518 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/1.248, allocations: 238.3 kB / 1.518 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/1.249, allocations: 199.7 kB / 1.519 GB, free: 13.91 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/1.253, allocations: 4.586 MB / 1.523 GB, free: 9.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/1.255, allocations: 67.94 kB / 1.523 GB, free: 8.953 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.255, allocations: 44.17 kB / 1.523 GB, free: 8.91 MB / 1.248 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.001712/1.257, allocations: 0.7674 MB / 1.524 GB, free: 8.137 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001209/1.258, allocations: 0.646 MB / 1.525 GB, free: 7.422 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01344/1.271, allocations: 3.282 MB / 1.528 GB, free: 4.043 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.334e-06/1.271, allocations: 8 kB / 1.528 GB, free: 4.035 MB / 1.248 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003403/1.275, allocations: 1.479 MB / 1.529 GB, free: 2.531 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/1.275, allocations: 45.62 kB / 1.529 GB, free: 2.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.275, allocations: 4 kB / 1.529 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/1.275, allocations: 202.8 kB / 1.53 GB, free: 2.27 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/1.276, allocations: 199.7 kB / 1.53 GB, free: 2.074 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/1.282, allocations: 5.77 MB / 1.535 GB, free: 11.88 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.283, allocations: 72 kB / 1.535 GB, free: 11.81 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.283, allocations: 43.98 kB / 1.535 GB, free: 11.77 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_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.0004002/1.284, allocations: 281.7 kB / 1.536 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/1.284, allocations: 162 kB / 1.536 GB, free: 11.32 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/1.287, allocations: 1.282 MB / 1.537 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002282/1.289, allocations: 1.135 MB / 1.538 GB, free: 8.836 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.289, allocations: 4 kB / 1.538 GB, free: 8.832 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/1.29, allocations: 347 kB / 1.539 GB, free: 8.473 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.29, allocations: 20 kB / 1.539 GB, free: 8.453 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.292, allocations: 70.53 kB / 1.539 GB, free: 8.387 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.292, allocations: 56.92 kB / 1.539 GB, free: 8.332 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003268/1.295, allocations: 1.358 MB / 1.54 GB, free: 6.945 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003679/1.299, allocations: 1.954 MB / 1.542 GB, free: 4.965 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001005/1.3, allocations: 0.5192 MB / 1.542 GB, free: 4.445 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001508/1.301, allocations: 0.9216 MB / 1.543 GB, free: 3.527 MB / 1.264 GB Notification: Performance of Backend: time 7.71e-07/1.301, allocations: 0 / 1.543 GB, free: 3.527 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006212/1.307, allocations: 2.817 MB / 1.546 GB, free: 0.6328 MB / 1.264 GB Notification: Performance of SimCode: time 0.007079/1.315, allocations: 3.859 MB / 1.55 GB, free: 12.71 MB / 1.279 GB Notification: Performance of Templates: time 0.6076/1.922, allocations: 42.38 MB / 1.591 GB, free: 336.9 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