Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001669/0.001669, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001768/0.001768, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8498, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.2856/1.135, allocations: 255.8 MB / 1.338 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01525/1.151, allocations: 9.595 MB / 1.348 GB, free: 3.953 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/1.153, allocations: 75.56 kB / 1.348 GB, free: 3.879 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002738/1.156, allocations: 0.9902 MB / 1.349 GB, free: 2.883 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007033/1.163, allocations: 2.765 MB / 1.352 GB, free: 108 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005579/1.169, allocations: 2.176 MB / 1.354 GB, free: 13.94 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005763/1.174, allocations: 4.158 MB / 1.358 GB, free: 9.777 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/1.177, allocations: 1.576 MB / 1.359 GB, free: 8.176 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/1.182, allocations: 2.032 MB / 1.361 GB, free: 6.137 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/1.185, allocations: 1.292 MB / 1.363 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000795/1.186, allocations: 180 kB / 1.363 GB, free: 4.668 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006655/1.193, allocations: 3.161 MB / 1.366 GB, free: 1.5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009564/1.194, allocations: 0.5997 MB / 1.366 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/1.196, allocations: 1.022 MB / 1.367 GB, free: 15.87 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007122/1.203, allocations: 3.677 MB / 1.371 GB, free: 12.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.203, allocations: 4 kB / 1.371 GB, free: 12.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.353e-06/1.203, allocations: 0 / 1.371 GB, free: 12.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.098e-05/1.203, allocations: 0 / 1.371 GB, free: 12.18 MB / 1.107 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.005018/1.208, allocations: 2.483 MB / 1.373 GB, free: 9.617 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.208, allocations: 8.031 kB / 1.373 GB, free: 9.609 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/1.212, allocations: 0.6259 MB / 1.374 GB, free: 8.98 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/1.215, allocations: 1.441 MB / 1.375 GB, free: 7.484 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/1.216, allocations: 94.28 kB / 1.376 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/1.216, allocations: 123.9 kB / 1.376 GB, free: 7.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/1.219, allocations: 1.42 MB / 1.377 GB, free: 5.781 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/1.219, allocations: 7.922 kB / 1.377 GB, free: 5.773 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/1.219, allocations: 52 kB / 1.377 GB, free: 5.723 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/1.219, allocations: 42.2 kB / 1.377 GB, free: 5.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/1.222, allocations: 1.188 MB / 1.378 GB, free: 4.484 MB / 1.107 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.008734/1.23, allocations: 5.685 MB / 1.384 GB, free: 14.47 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/1.232, allocations: 1.03 MB / 1.385 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.234, allocations: 0.5331 MB / 1.385 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/1.234, allocations: 315.9 kB / 1.386 GB, free: 12.5 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.235, allocations: 0.5699 MB / 1.386 GB, free: 11.91 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.557e-06/1.235, allocations: 0 / 1.386 GB, free: 11.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=92): time 0.008544/1.244, allocations: 3.514 MB / 1.39 GB, free: 8.289 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.244, allocations: 90.11 kB / 1.39 GB, free: 8.184 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.246, allocations: 1.346 MB / 1.391 GB, free: 6.828 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.246, allocations: 53.69 kB / 1.391 GB, free: 6.77 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/1.247, allocations: 0.725 MB / 1.392 GB, free: 6.035 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.247, allocations: 311.5 kB / 1.392 GB, free: 5.727 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/1.247, allocations: 190.5 kB / 1.392 GB, free: 5.535 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.247, allocations: 349.9 kB / 1.393 GB, free: 5.188 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009954/1.248, allocations: 456.6 kB / 1.393 GB, free: 4.738 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/1.25, allocations: 0.6493 MB / 1.394 GB, free: 4.016 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/1.263, allocations: 3.321 MB / 1.397 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.263, allocations: 4 kB / 1.397 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003598/1.267, allocations: 1.503 MB / 1.398 GB, free: 15.07 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/1.267, allocations: 41.69 kB / 1.398 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.267, allocations: 12 kB / 1.398 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/1.268, allocations: 214.4 kB / 1.399 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/1.269, allocations: 203.7 kB / 1.399 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/1.273, allocations: 4.595 MB / 1.403 GB, free: 9.695 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.274, allocations: 68 kB / 1.403 GB, free: 9.629 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.275, allocations: 43.98 kB / 1.403 GB, free: 9.586 MB / 1.139 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.001624/1.276, allocations: 0.7596 MB / 1.404 GB, free: 8.824 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001174/1.277, allocations: 0.6477 MB / 1.405 GB, free: 8.105 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01329/1.291, allocations: 3.286 MB / 1.408 GB, free: 4.719 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/1.291, allocations: 0 / 1.408 GB, free: 4.719 MB / 1.139 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003309/1.294, allocations: 1.483 MB / 1.409 GB, free: 3.211 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.294, allocations: 49.56 kB / 1.41 GB, free: 3.156 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.294, allocations: 4.438 kB / 1.41 GB, free: 3.152 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/1.295, allocations: 194.5 kB / 1.41 GB, free: 2.953 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/1.296, allocations: 203.7 kB / 1.41 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005043/1.301, allocations: 5.771 MB / 1.416 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.302, allocations: 76 kB / 1.416 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.302, allocations: 36 kB / 1.416 GB, free: 12.44 MB / 1.154 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.0003667/1.303, allocations: 283.8 kB / 1.416 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/1.303, allocations: 166 kB / 1.416 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/1.306, allocations: 1.282 MB / 1.417 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/1.308, allocations: 1.147 MB / 1.418 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.308, allocations: 0 / 1.418 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/1.309, allocations: 339 kB / 1.419 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/1.309, allocations: 24 kB / 1.419 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.31, allocations: 59.89 kB / 1.419 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.31, allocations: 56.91 kB / 1.419 GB, free: 9.008 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003175/1.313, allocations: 1.358 MB / 1.42 GB, free: 7.621 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003596/1.317, allocations: 1.957 MB / 1.422 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009881/1.318, allocations: 0.5153 MB / 1.423 GB, free: 5.117 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001442/1.319, allocations: 0.9216 MB / 1.424 GB, free: 4.199 MB / 1.154 GB Notification: Performance of Backend: time 1.984e-06/1.32, allocations: 112 / 1.424 GB, free: 4.199 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006168/1.326, allocations: 2.809 MB / 1.426 GB, free: 1.305 MB / 1.154 GB Notification: Performance of SimCode: time 0.006895/1.333, allocations: 3.857 MB / 1.43 GB, free: 13.4 MB / 1.17 GB Notification: Performance of Templates: time 0.06445/1.397, allocations: 42.39 MB / 1.471 GB, free: 3.383 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches