Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001185/0.001185, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001437/0.001437, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.548/2.548, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8944, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.3439/1.238, allocations: 285.4 MB / 1.233 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8649/2.103, allocations: 25.57 MB / 1.258 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/2.108, allocations: 68.97 kB / 1.258 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005492/2.114, allocations: 0.9755 MB / 1.259 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009795/2.124, allocations: 2.195 MB / 1.261 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006704/2.131, allocations: 1.75 MB / 1.263 GB, free: 32.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01077/2.141, allocations: 5.14 MB / 1.268 GB, free: 32.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/2.145, allocations: 1.389 MB / 1.269 GB, free: 32.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006408/2.151, allocations: 1.812 MB / 1.271 GB, free: 32.08 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004192/2.156, allocations: 1.266 MB / 1.272 GB, free: 32.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006656/2.156, allocations: 68.41 kB / 1.272 GB, free: 32.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008088/2.164, allocations: 2.008 MB / 1.274 GB, free: 32.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/2.166, allocations: 495.7 kB / 1.275 GB, free: 32.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002522/2.169, allocations: 465.4 kB / 1.275 GB, free: 32.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/2.179, allocations: 3.419 MB / 1.279 GB, free: 31.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/2.179, allocations: 0 / 1.279 GB, free: 31.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.865e-06/2.179, allocations: 0 / 1.279 GB, free: 31.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001205/2.179, allocations: 0 / 1.279 GB, free: 31.79 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00671/2.186, allocations: 2.124 MB / 1.281 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/2.186, allocations: 9.219 kB / 1.281 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/2.192, allocations: 0.9573 MB / 1.282 GB, free: 30.44 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/2.197, allocations: 2.006 MB / 1.284 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006323/2.197, allocations: 235.4 kB / 1.284 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/2.198, allocations: 143.9 kB / 1.284 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/2.202, allocations: 1.712 MB / 1.286 GB, free: 29.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/2.202, allocations: 0 / 1.286 GB, free: 29.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/2.202, allocations: 53.53 kB / 1.286 GB, free: 29.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/2.202, allocations: 49.38 kB / 1.286 GB, free: 29.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/2.206, allocations: 1.617 MB / 1.287 GB, free: 29.76 MB / 0.9981 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.0118/2.218, allocations: 7.637 MB / 1.295 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/2.221, allocations: 1.238 MB / 1.296 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/2.222, allocations: 492.6 kB / 1.297 GB, free: 25.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/2.222, allocations: 192.5 kB / 1.297 GB, free: 25.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/2.222, allocations: 38.78 kB / 1.297 GB, free: 25.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001177/2.224, allocations: 149.2 kB / 1.297 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=38): time 2.765e-06/2.224, allocations: 2.625 kB / 1.297 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.004031/2.228, allocations: 1.42 MB / 1.298 GB, free: 25.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/2.228, allocations: 54.72 kB / 1.298 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/2.23, allocations: 1.587 MB / 1.3 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/2.23, allocations: 41.73 kB / 1.3 GB, free: 25.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005913/2.231, allocations: 0.8264 MB / 1.301 GB, free: 24.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/2.231, allocations: 143 kB / 1.301 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/2.231, allocations: 12.47 kB / 1.301 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/2.231, allocations: 329.8 kB / 1.301 GB, free: 24.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/2.232, allocations: 457.2 kB / 1.302 GB, free: 24.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/2.233, allocations: 0.6883 MB / 1.302 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/2.235, allocations: 489.1 kB / 1.303 GB, free: 24.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/2.235, allocations: 4 kB / 1.303 GB, free: 24.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003029/2.238, allocations: 1.256 MB / 1.304 GB, free: 23.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/2.238, allocations: 280.7 kB / 1.304 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/2.238, allocations: 9.375 kB / 1.304 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/2.238, allocations: 8.031 kB / 1.304 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/2.239, allocations: 252.1 kB / 1.305 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003045/2.239, allocations: 0.608 MB / 1.305 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/2.242, allocations: 199.5 kB / 1.305 GB, free: 23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/2.242, allocations: 38.62 kB / 1.305 GB, free: 23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/2.242, allocations: 6.969 kB / 1.305 GB, free: 22.99 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/2.244, allocations: 1.023 MB / 1.306 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/2.244, allocations: 6 kB / 1.306 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/2.244, allocations: 18.17 kB / 1.306 GB, free: 22.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/2.245, allocations: 220.5 kB / 1.307 GB, free: 22.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/2.245, allocations: 12.88 kB / 1.307 GB, free: 22.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/2.247, allocations: 185.1 kB / 1.307 GB, free: 22.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/2.247, allocations: 34.66 kB / 1.307 GB, free: 22.91 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (73): * Single equations (assignments): 71 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001185/2.249, allocations: 0.5232 MB / 1.307 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/2.249, allocations: 154.9 kB / 1.307 GB, free: 22.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/2.252, allocations: 1.068 MB / 1.308 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/2.252, allocations: 9.734 kB / 1.309 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/2.252, allocations: 0 / 1.309 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/2.252, allocations: 3.188 kB / 1.309 GB, free: 22.52 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.005109/2.257, allocations: 2.521 MB / 1.311 GB, free: 22.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/2.257, allocations: 0 / 1.311 GB, free: 22.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/2.258, allocations: 174.5 kB / 1.311 GB, free: 22.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/2.258, allocations: 9.109 kB / 1.311 GB, free: 22.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/2.258, allocations: 19.72 kB / 1.311 GB, free: 22.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001988/2.258, allocations: 0.5994 MB / 1.312 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/2.258, allocations: 6.125 kB / 1.312 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/2.261, allocations: 1.13 MB / 1.313 GB, free: 21.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/2.261, allocations: 327.3 kB / 1.313 GB, free: 20.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/2.262, allocations: 13.59 kB / 1.313 GB, free: 20.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/2.263, allocations: 165.2 kB / 1.313 GB, free: 20.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/2.263, allocations: 26.3 kB / 1.313 GB, free: 20.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/2.263, allocations: 23.2 kB / 1.313 GB, free: 20.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002477/2.265, allocations: 1.102 MB / 1.314 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/2.265, allocations: 4 kB / 1.314 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003788/2.269, allocations: 0.7524 MB / 1.315 GB, free: 20.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/2.27, allocations: 316.4 kB / 1.316 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004924/2.275, allocations: 1.53 MB / 1.317 GB, free: 20.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/2.275, allocations: 4.375 kB / 1.317 GB, free: 20.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/2.277, allocations: 459.8 kB / 1.317 GB, free: 20.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005973/2.283, allocations: 0.9101 MB / 1.318 GB, free: 20.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/2.292, allocations: 3.642 MB / 1.322 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/2.293, allocations: 1.341 MB / 1.323 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002548/2.295, allocations: 384 kB / 1.324 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/2.296, allocations: 121.9 kB / 1.324 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.412e-06/2.296, allocations: 0 / 1.324 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.05812/2.354, allocations: 31.52 MB / 1.354 GB, free: 4.211 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches