Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 114.6 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.001132/0.001133, 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.306/1.306, 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 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/0.7515, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.05019/0.8017, allocations: 48.21 MB / 1.136 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.8199, allocations: 11.87 MB / 1.147 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.8237, allocations: 58.69 kB / 1.147 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.8265, allocations: 0.7415 MB / 1.148 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007384/0.8339, allocations: 2.132 MB / 1.15 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006206/0.8402, allocations: 2.069 MB / 1.152 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006055/0.8462, allocations: 3.549 MB / 1.156 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.8488, allocations: 1.228 MB / 1.157 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.8532, allocations: 1.577 MB / 1.158 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.8556, allocations: 1.029 MB / 1.159 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005762/0.8562, allocations: 139.8 kB / 1.16 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005798/0.862, allocations: 2.338 MB / 1.162 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007593/0.8628, allocations: 363.7 kB / 1.162 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.8648, allocations: 0.8103 MB / 1.163 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006935/0.8717, allocations: 2.908 MB / 1.166 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.8717, allocations: 1.219 kB / 1.166 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8717, allocations: 7.938 kB / 1.166 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.606e-05/0.8718, allocations: 0 / 1.166 GB, free: 1.41 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006042/0.8779, allocations: 2.14 MB / 1.168 GB, free: 15.79 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.8779, allocations: 9.562 kB / 1.168 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.8803, allocations: 386.3 kB / 1.168 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00452/0.8848, allocations: 1.42 MB / 1.17 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.885, allocations: 79.58 kB / 1.17 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.8853, allocations: 98.8 kB / 1.17 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.8883, allocations: 1.078 MB / 1.171 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.8884, allocations: 5.125 kB / 1.171 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.8885, allocations: 36.38 kB / 1.171 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/0.8885, allocations: 34.27 kB / 1.171 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.8913, allocations: 1.015 MB / 1.172 GB, free: 13.27 MB / 0.92 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.00904/0.9004, allocations: 4.694 MB / 1.177 GB, free: 9.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.9027, allocations: 0.7835 MB / 1.177 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.9039, allocations: 449.1 kB / 1.178 GB, free: 8.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.9052, allocations: 1.062 MB / 1.179 GB, free: 7.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.9068, allocations: 0.5194 MB / 1.179 GB, free: 7.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=73): time 5.781e-06/0.9068, allocations: 1.312 kB / 1.179 GB, free: 7.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=73): time 0.003969/0.9108, allocations: 1.31 MB / 1.181 GB, free: 6.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.9109, allocations: 60.28 kB / 1.181 GB, free: 6.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.9131, allocations: 1.187 MB / 1.182 GB, free: 5.863 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.9133, allocations: 47.98 kB / 1.182 GB, free: 5.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.9139, allocations: 0.5893 MB / 1.182 GB, free: 5.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.9142, allocations: 246.9 kB / 1.183 GB, free: 5.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004478/0.9147, allocations: 217.1 kB / 1.183 GB, free: 4.953 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9148, allocations: 347.1 kB / 1.183 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.916, allocations: 423.2 kB / 1.184 GB, free: 4.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.9174, allocations: 0.639 MB / 1.184 GB, free: 3.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.9199, allocations: 0.9858 MB / 1.185 GB, free: 3.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9199, allocations: 1.344 kB / 1.185 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003373/0.9233, allocations: 1.252 MB / 1.186 GB, free: 2.723 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.9234, allocations: 41.41 kB / 1.186 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9234, allocations: 7.5 kB / 1.186 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.9234, allocations: 8.469 kB / 1.186 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.9249, allocations: 295 kB / 1.187 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.9257, allocations: 1.196 MB / 1.188 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.9273, allocations: 153.3 kB / 1.188 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.9274, allocations: 49.38 kB / 1.188 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001597/0.929, allocations: 0.6289 MB / 1.189 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001379/0.9304, allocations: 0.6404 MB / 1.189 GB, free: 480 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002352/0.9328, allocations: 0.9659 MB / 1.19 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/0.9328, allocations: 1.25 kB / 1.19 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.003254/0.9361, allocations: 1.24 MB / 1.191 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.9361, allocations: 37.55 kB / 1.191 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.9361, allocations: 3.969 kB / 1.191 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9361, allocations: 7.75 kB / 1.192 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.9373, allocations: 268 kB / 1.192 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.9373, allocations: 17 kB / 1.192 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9389, allocations: 142.6 kB / 1.192 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.939, allocations: 47.91 kB / 1.192 GB, free: 15.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.9393, allocations: 246.8 kB / 1.192 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/0.9398, allocations: 137.5 kB / 1.192 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.943, allocations: 1.254 MB / 1.194 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.943, allocations: 11.91 kB / 1.194 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.943, allocations: 5.188 kB / 1.194 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.9438, allocations: 347.2 kB / 1.194 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.9441, allocations: 20.33 kB / 1.194 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.9452, allocations: 76.55 kB / 1.194 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.9454, allocations: 63.88 kB / 1.194 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003408/0.9488, allocations: 1.225 MB / 1.195 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004123/0.953, allocations: 1.839 MB / 1.197 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001186/0.9542, allocations: 0.5086 MB / 1.198 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001401/0.9556, allocations: 0.7985 MB / 1.198 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of Backend: time 5.71e-07/0.9556, allocations: 3.938 kB / 1.198 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006952/0.9625, allocations: 2.03 MB / 1.2 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of SimCode: time 0.005497/0.9681, allocations: 2.928 MB / 1.203 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of Templates: time 0.06024/1.028, allocations: 35.75 MB / 1.238 GB, free: 4.242 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches