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.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.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.001787/0.001787, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.002056/0.002056, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.068, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.3647/1.433, allocations: 312.6 MB / 1.526 GB, free: 8.605 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03895/1.472, allocations: 29.36 MB / 1.555 GB, free: 11.16 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/1.476, allocations: 79.62 kB / 1.555 GB, free: 11.08 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007441/1.484, allocations: 2.426 MB / 1.557 GB, free: 8.645 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.494, allocations: 3.306 MB / 1.56 GB, free: 5.328 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008491/1.503, allocations: 2.792 MB / 1.563 GB, free: 2.539 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 1.129/2.631, allocations: 7.544 MB / 1.571 GB, free: 30.38 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/2.636, allocations: 2.094 MB / 1.573 GB, free: 30.16 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007372/2.643, allocations: 2.453 MB / 1.575 GB, free: 30.16 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/2.648, allocations: 1.539 MB / 1.577 GB, free: 30.15 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0009861/2.649, allocations: 256.2 kB / 1.577 GB, free: 30.15 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/2.662, allocations: 3.62 MB / 1.58 GB, free: 30.15 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003324/2.665, allocations: 0.8268 MB / 1.581 GB, free: 30.15 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007285/2.672, allocations: 1.398 MB / 1.582 GB, free: 30.15 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02138/2.694, allocations: 5.443 MB / 1.588 GB, free: 30.04 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/2.694, allocations: 0.7188 kB / 1.588 GB, free: 30.04 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.856e-06/2.694, allocations: 0 / 1.588 GB, free: 30.04 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001522/2.694, allocations: 0.875 kB / 1.588 GB, free: 30.04 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.009205/2.703, allocations: 2.945 MB / 1.591 GB, free: 28.6 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/2.703, allocations: 8.969 kB / 1.591 GB, free: 28.6 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/2.71, allocations: 0.9323 MB / 1.592 GB, free: 28.47 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/2.721, allocations: 5.74 MB / 1.597 GB, free: 27.92 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/2.722, allocations: 107.8 kB / 1.597 GB, free: 27.92 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/2.722, allocations: 133.8 kB / 1.597 GB, free: 27.92 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/2.725, allocations: 1.608 MB / 1.599 GB, free: 27.72 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/2.725, allocations: 3.188 kB / 1.599 GB, free: 27.72 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/2.726, allocations: 56 kB / 1.599 GB, free: 27.72 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/2.726, allocations: 47.84 kB / 1.599 GB, free: 27.71 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/2.729, allocations: 1.336 MB / 1.6 GB, free: 27.7 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.01096/2.74, allocations: 7.794 MB / 1.608 GB, free: 23.81 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/2.742, allocations: 0.8769 MB / 1.609 GB, free: 23.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/2.743, allocations: 345.6 kB / 1.609 GB, free: 23.59 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/2.744, allocations: 188.9 kB / 1.609 GB, free: 23.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/2.744, allocations: 40.59 kB / 1.609 GB, free: 23.36 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 3.046e-06/2.744, allocations: 0 / 1.609 GB, free: 23.36 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003804/2.748, allocations: 1.05 MB / 1.61 GB, free: 23.22 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/2.748, allocations: 58.72 kB / 1.611 GB, free: 23.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/2.752, allocations: 2.178 MB / 1.613 GB, free: 22.91 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/2.752, allocations: 36.39 kB / 1.613 GB, free: 22.88 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009797/2.753, allocations: 0.9651 MB / 1.614 GB, free: 22.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/2.753, allocations: 135.5 kB / 1.614 GB, free: 22.52 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/2.754, allocations: 251.3 kB / 1.614 GB, free: 22.49 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001396/2.754, allocations: 348.4 kB / 1.614 GB, free: 22.18 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/2.755, allocations: 0.5258 MB / 1.615 GB, free: 22.18 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/2.757, allocations: 0.8004 MB / 1.616 GB, free: 21.86 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/2.759, allocations: 1.196 MB / 1.617 GB, free: 21.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/2.759, allocations: 0.8125 kB / 1.617 GB, free: 21.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003672/2.763, allocations: 1.525 MB / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/2.763, allocations: 10.31 kB / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/2.763, allocations: 9 kB / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/2.763, allocations: 10.78 kB / 1.618 GB, free: 21.45 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/2.764, allocations: 258.3 kB / 1.619 GB, free: 21.45 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000356/2.765, allocations: 0.6133 MB / 1.619 GB, free: 20.86 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/2.767, allocations: 177.5 kB / 1.619 GB, free: 20.78 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/2.767, allocations: 47.28 kB / 1.619 GB, free: 20.78 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002596/2.77, allocations: 1.02 MB / 1.62 GB, free: 20.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/2.771, allocations: 0.7893 MB / 1.621 GB, free: 20.38 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002259/2.773, allocations: 1.174 MB / 1.622 GB, free: 20.07 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.122e-06/2.773, allocations: 5.234 kB / 1.622 GB, free: 20.07 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.00336/2.777, allocations: 1.508 MB / 1.624 GB, free: 19.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/2.777, allocations: 11.22 kB / 1.624 GB, free: 19.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/2.777, allocations: 6.125 kB / 1.624 GB, free: 19.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/2.777, allocations: 10.97 kB / 1.624 GB, free: 19.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/2.778, allocations: 233.4 kB / 1.624 GB, free: 19.89 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/2.778, allocations: 17.36 kB / 1.624 GB, free: 19.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/2.779, allocations: 114.8 kB / 1.624 GB, free: 19.86 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/2.78, allocations: 42.52 kB / 1.624 GB, free: 19.86 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.0003647/2.78, allocations: 235.1 kB / 1.624 GB, free: 19.66 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/2.78, allocations: 208.7 kB / 1.625 GB, free: 19.55 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/2.783, allocations: 0.8082 MB / 1.625 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/2.783, allocations: 1.781 kB / 1.625 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/2.783, allocations: 0 / 1.625 GB, free: 19.47 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007928/2.784, allocations: 355.5 kB / 1.626 GB, free: 19.27 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/2.784, allocations: 3.938 kB / 1.626 GB, free: 19.27 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009687/2.785, allocations: 63.92 kB / 1.626 GB, free: 19.26 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/2.785, allocations: 22.97 kB / 1.626 GB, free: 19.26 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002401/2.787, allocations: 0.7618 MB / 1.627 GB, free: 19.12 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002925/2.79, allocations: 1.281 MB / 1.628 GB, free: 18.78 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008557/2.791, allocations: 290.9 kB / 1.628 GB, free: 18.77 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002362/2.794, allocations: 1.486 MB / 1.63 GB, free: 18.62 MB / 1.279 GB Notification: Performance of Backend: time 9.62e-07/2.794, allocations: 0 / 1.63 GB, free: 18.62 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007549/2.801, allocations: 2.28 MB / 1.632 GB, free: 18.38 MB / 1.279 GB Notification: Performance of SimCode: time 0.00845/2.81, allocations: 4.598 MB / 1.636 GB, free: 16.51 MB / 1.279 GB Notification: Performance of Templates: time 0.07943/2.889, allocations: 50.34 MB / 1.685 GB, free: 14.19 MB / 1.295 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