Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p|floMac.inlet.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p|floMac.inlet.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 111 kB / 16.42 MB, free: 6.492 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.001184/0.001185, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.3674/1.4, allocations: 312.6 MB / 1.513 GB, free: 3.957 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04194/1.442, allocations: 29.36 MB / 1.542 GB, free: 6.512 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/1.446, allocations: 83.56 kB / 1.542 GB, free: 6.43 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.007434/1.454, allocations: 2.387 MB / 1.545 GB, free: 4.031 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009764/1.463, allocations: 3.181 MB / 1.548 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.008469/1.472, allocations: 2.761 MB / 1.55 GB, free: 14.07 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01368/1.485, allocations: 7.547 MB / 1.558 GB, free: 6.516 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004282/1.49, allocations: 2.104 MB / 1.56 GB, free: 4.367 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006055/1.496, allocations: 2.394 MB / 1.562 GB, free: 1.965 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/1.5, allocations: 1.537 MB / 1.564 GB, free: 440 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0007566/1.501, allocations: 260 kB / 1.564 GB, free: 180 kB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043/2.544, allocations: 3.598 MB / 1.567 GB, free: 37.4 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001855/2.546, allocations: 0.8224 MB / 1.568 GB, free: 37.4 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002801/2.549, allocations: 1.402 MB / 1.57 GB, free: 37.4 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/2.562, allocations: 5.438 MB / 1.575 GB, free: 37.29 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/2.562, allocations: 0 / 1.575 GB, free: 37.29 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.355e-06/2.562, allocations: 0 / 1.575 GB, free: 37.29 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000105/2.562, allocations: 0 / 1.575 GB, free: 37.29 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.008063/2.57, allocations: 2.939 MB / 1.578 GB, free: 35.89 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/2.57, allocations: 9.25 kB / 1.578 GB, free: 35.89 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006219/2.577, allocations: 0.9341 MB / 1.579 GB, free: 35.76 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/2.588, allocations: 5.746 MB / 1.584 GB, free: 35.21 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/2.588, allocations: 101.1 kB / 1.584 GB, free: 35.21 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/2.588, allocations: 139.3 kB / 1.584 GB, free: 35.21 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/2.591, allocations: 1.6 MB / 1.586 GB, free: 35.01 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/2.591, allocations: 4.25 kB / 1.586 GB, free: 35.01 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/2.592, allocations: 57.5 kB / 1.586 GB, free: 35.01 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/2.592, allocations: 50.64 kB / 1.586 GB, free: 35.01 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/2.595, allocations: 1.333 MB / 1.587 GB, free: 34.99 MB / 1.279 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.009744/2.604, allocations: 7.791 MB / 1.595 GB, free: 31.13 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/2.607, allocations: 0.8723 MB / 1.596 GB, free: 30.92 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/2.608, allocations: 341.5 kB / 1.596 GB, free: 30.91 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/2.608, allocations: 195.8 kB / 1.596 GB, free: 30.72 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/2.608, allocations: 37.34 kB / 1.596 GB, free: 30.68 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 4.098e-06/2.608, allocations: 1 kB / 1.596 GB, free: 30.68 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003369/2.612, allocations: 1.052 MB / 1.597 GB, free: 30.55 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/2.612, allocations: 59.5 kB / 1.598 GB, free: 30.48 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/2.615, allocations: 2.175 MB / 1.6 GB, free: 30.24 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/2.615, allocations: 35.52 kB / 1.6 GB, free: 30.21 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/2.615, allocations: 0.9681 MB / 1.601 GB, free: 29.92 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/2.615, allocations: 127.9 kB / 1.601 GB, free: 29.84 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/2.616, allocations: 248.8 kB / 1.601 GB, free: 29.82 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/2.616, allocations: 350.7 kB / 1.601 GB, free: 29.51 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/2.617, allocations: 0.5246 MB / 1.602 GB, free: 29.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/2.618, allocations: 0.8082 MB / 1.603 GB, free: 29.19 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/2.621, allocations: 1.183 MB / 1.604 GB, free: 28.93 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/2.621, allocations: 2.219 kB / 1.604 GB, free: 28.93 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003382/2.624, allocations: 1.533 MB / 1.605 GB, free: 28.77 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/2.624, allocations: 7.344 kB / 1.605 GB, free: 28.77 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/2.624, allocations: 6.781 kB / 1.605 GB, free: 28.77 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.758e-05/2.624, allocations: 11.09 kB / 1.605 GB, free: 28.77 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/2.625, allocations: 258.7 kB / 1.606 GB, free: 28.77 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003798/2.626, allocations: 0.6113 MB / 1.606 GB, free: 28.19 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/2.628, allocations: 186 kB / 1.606 GB, free: 28.11 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/2.628, allocations: 51.11 kB / 1.606 GB, free: 28.11 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002386/2.63, allocations: 1.023 MB / 1.607 GB, free: 28.02 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001437/2.632, allocations: 0.7922 MB / 1.608 GB, free: 27.71 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002225/2.634, allocations: 1.173 MB / 1.609 GB, free: 27.44 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.562e-06/2.634, allocations: 5.906 kB / 1.609 GB, free: 27.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003149/2.637, allocations: 1.503 MB / 1.611 GB, free: 27.28 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/2.637, allocations: 12.44 kB / 1.611 GB, free: 27.28 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/2.637, allocations: 9.297 kB / 1.611 GB, free: 27.28 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/2.637, allocations: 12.06 kB / 1.611 GB, free: 27.28 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/2.638, allocations: 235.3 kB / 1.611 GB, free: 27.28 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/2.638, allocations: 14.25 kB / 1.611 GB, free: 27.28 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/2.64, allocations: 116.4 kB / 1.611 GB, free: 27.25 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/2.64, allocations: 42.52 kB / 1.611 GB, free: 27.25 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003176/2.64, allocations: 229.1 kB / 1.611 GB, free: 27.06 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/2.64, allocations: 199.1 kB / 1.612 GB, free: 26.95 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/2.643, allocations: 0.8009 MB / 1.612 GB, free: 26.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/2.643, allocations: 5.906 kB / 1.612 GB, free: 26.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/2.643, allocations: 4 kB / 1.612 GB, free: 26.89 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/2.644, allocations: 358 kB / 1.613 GB, free: 26.69 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/2.644, allocations: 3.5 kB / 1.613 GB, free: 26.69 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/2.645, allocations: 64.98 kB / 1.613 GB, free: 26.68 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/2.645, allocations: 21.95 kB / 1.613 GB, free: 26.68 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002363/2.647, allocations: 0.7604 MB / 1.614 GB, free: 26.54 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002933/2.65, allocations: 1.274 MB / 1.615 GB, free: 26.21 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008479/2.651, allocations: 295.9 kB / 1.615 GB, free: 26.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002328/2.654, allocations: 1.476 MB / 1.617 GB, free: 26.05 MB / 1.279 GB Notification: Performance of Backend: time 4.11e-07/2.654, allocations: 6.531 kB / 1.617 GB, free: 26.05 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007381/2.661, allocations: 2.279 MB / 1.619 GB, free: 25.81 MB / 1.279 GB Notification: Performance of SimCode: time 0.009335/2.67, allocations: 4.613 MB / 1.623 GB, free: 23.93 MB / 1.279 GB Notification: Performance of Templates: time 0.08105/2.751, allocations: 50.14 MB / 1.672 GB, free: 10.08 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches