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.001231/0.001231, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.293 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.424/2.424, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.76, allocations: 142.4 MB / 0.9557 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.9802/1.74, allocations: 306.1 MB / 1.255 GB, free: 21.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03141/1.772, allocations: 27.34 MB / 1.281 GB, free: 21.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/1.775, allocations: 73.75 kB / 1.281 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004022/1.779, allocations: 1.325 MB / 1.283 GB, free: 21.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007935/1.787, allocations: 2.808 MB / 1.285 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006591/1.793, allocations: 2.37 MB / 1.288 GB, free: 21.49 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01098/1.804, allocations: 6.008 MB / 1.294 GB, free: 21.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002684/1.807, allocations: 1.616 MB / 1.295 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/1.812, allocations: 1.972 MB / 1.297 GB, free: 21.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/1.815, allocations: 1.345 MB / 1.298 GB, free: 21.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/1.815, allocations: 69.53 kB / 1.299 GB, free: 21.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006361/1.821, allocations: 3.621 MB / 1.302 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008469/1.822, allocations: 0.4976 MB / 1.303 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.824, allocations: 0.9981 MB / 1.304 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005425/1.829, allocations: 3.597 MB / 1.307 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.829, allocations: 4 kB / 1.307 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.829, allocations: 0 / 1.307 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.39e-05/1.829, allocations: 0 / 1.307 GB, free: 20.89 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.004293/1.834, allocations: 2.105 MB / 1.309 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.834, allocations: 8.406 kB / 1.309 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006217/1.84, allocations: 0.9529 MB / 1.31 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004577/1.845, allocations: 2.063 MB / 1.312 GB, free: 19.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007293/1.845, allocations: 237.9 kB / 1.312 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/1.846, allocations: 138.1 kB / 1.312 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/1.85, allocations: 1.722 MB / 1.314 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/1.85, allocations: 0 / 1.314 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/1.85, allocations: 55.44 kB / 1.314 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/1.85, allocations: 51.83 kB / 1.314 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/1.854, allocations: 1.624 MB / 1.316 GB, free: 18.8 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.01106/1.866, allocations: 7.65 MB / 1.323 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/1.87, allocations: 1.232 MB / 1.324 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/1.871, allocations: 491.2 kB / 1.325 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/1.871, allocations: 191.9 kB / 1.325 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/1.871, allocations: 30.56 kB / 1.325 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001004/1.872, allocations: 159.2 kB / 1.325 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=38): time 2.756e-06/1.872, allocations: 0 / 1.325 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.004717/1.877, allocations: 1.424 MB / 1.327 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.877, allocations: 54.25 kB / 1.327 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/1.88, allocations: 1.596 MB / 1.328 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/1.88, allocations: 37.7 kB / 1.328 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/1.88, allocations: 0.8415 MB / 1.329 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/1.881, allocations: 126.5 kB / 1.329 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.881, allocations: 59.84 kB / 1.329 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.646e-05/1.881, allocations: 333 kB / 1.33 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/1.882, allocations: 472 kB / 1.33 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/1.884, allocations: 0.6922 MB / 1.331 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/1.887, allocations: 1.078 MB / 1.332 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.887, allocations: 0 / 1.332 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00361/1.89, allocations: 1.282 MB / 1.333 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/1.89, allocations: 274.2 kB / 1.333 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.89, allocations: 7.094 kB / 1.333 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/1.89, allocations: 15.03 kB / 1.333 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.892, allocations: 246.8 kB / 1.334 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003138/1.892, allocations: 0.6033 MB / 1.334 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.894, allocations: 206 kB / 1.334 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/1.894, allocations: 37.39 kB / 1.334 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.894, allocations: 5.031 kB / 1.334 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002785/1.897, allocations: 1.036 MB / 1.335 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.897, allocations: 6.719 kB / 1.335 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/1.897, allocations: 10.03 kB / 1.335 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.898, allocations: 218.7 kB / 1.336 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.898, allocations: 19.09 kB / 1.336 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.9, allocations: 189.9 kB / 1.336 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/1.9, allocations: 36.77 kB / 1.336 GB, free: 11.7 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 (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.001102/1.901, allocations: 0.5164 MB / 1.336 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/1.901, allocations: 160.3 kB / 1.337 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/1.905, allocations: 1.062 MB / 1.338 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.905, allocations: 15.83 kB / 1.338 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.905, allocations: 0 / 1.338 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.905, allocations: 2.953 kB / 1.338 GB, free: 11.3 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.005866/1.911, allocations: 2.523 MB / 1.34 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.911, allocations: 0 / 1.34 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.912, allocations: 183.6 kB / 1.34 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.912, allocations: 2.656 kB / 1.34 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/1.912, allocations: 15.67 kB / 1.34 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002352/1.912, allocations: 0.6041 MB / 1.341 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.912, allocations: 2.906 kB / 1.341 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/1.915, allocations: 1.129 MB / 1.342 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/1.916, allocations: 331.5 kB / 1.342 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/1.916, allocations: 6.188 kB / 1.342 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.918, allocations: 166.3 kB / 1.342 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/1.918, allocations: 31.09 kB / 1.342 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/1.918, allocations: 31.38 kB / 1.343 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002186/1.92, allocations: 1.118 MB / 1.344 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.92, allocations: 0 / 1.344 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002769/1.923, allocations: 0.7538 MB / 1.344 GB, free: 9.125 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 (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 Backend phase and start with SimCode phase: time 0.0008804/1.924, allocations: 308.5 kB / 1.345 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004936/1.929, allocations: 1.551 MB / 1.346 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/1.929, allocations: 0 / 1.346 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.931, allocations: 470.8 kB / 1.347 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/1.936, allocations: 0.9028 MB / 1.347 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009123/1.945, allocations: 3.838 MB / 1.351 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.946, allocations: 1.348 MB / 1.353 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/1.947, allocations: 132.7 kB / 1.353 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.947, allocations: 0 / 1.353 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of Templates: time 0.05572/2.003, allocations: 38.66 MB / 1.39 GB, free: 9.234 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches