Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.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.HeaterFan,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",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,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",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009603/0.0009599, allocations: 96.14 kB / 16.03 MB, free: 68 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.001231/0.001231, allocations: 183.7 kB / 16.92 MB, free: 6.906 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.262 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.416/2.416, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7403, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9834/1.724, allocations: 306.2 MB / 1.255 GB, free: 21.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03592/1.76, allocations: 27.34 MB / 1.281 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/1.764, allocations: 70.31 kB / 1.282 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004749/1.769, allocations: 1.321 MB / 1.283 GB, free: 21.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009004/1.778, allocations: 2.819 MB / 1.286 GB, free: 21.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007344/1.785, allocations: 2.372 MB / 1.288 GB, free: 21.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01029/1.795, allocations: 5.999 MB / 1.294 GB, free: 21.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/1.799, allocations: 1.618 MB / 1.295 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/1.804, allocations: 1.962 MB / 1.297 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/1.808, allocations: 1.345 MB / 1.299 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003997/1.808, allocations: 66.91 kB / 1.299 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007657/1.816, allocations: 3.625 MB / 1.302 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009681/1.817, allocations: 499.8 kB / 1.303 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/1.819, allocations: 1.004 MB / 1.304 GB, free: 21.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005832/1.825, allocations: 3.583 MB / 1.307 GB, free: 20.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.825, allocations: 3.938 kB / 1.307 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.565e-06/1.825, allocations: 0 / 1.307 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.93e-05/1.825, allocations: 0 / 1.307 GB, free: 20.81 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004361/1.829, allocations: 2.094 MB / 1.309 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.829, allocations: 8.938 kB / 1.309 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/1.835, allocations: 0.9489 MB / 1.31 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/1.84, allocations: 2.066 MB / 1.312 GB, free: 19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007026/1.841, allocations: 236.6 kB / 1.312 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003931/1.841, allocations: 130.8 kB / 1.312 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/1.845, allocations: 1.707 MB / 1.314 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.845, allocations: 0 / 1.314 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/1.846, allocations: 56.44 kB / 1.314 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/1.846, allocations: 48.05 kB / 1.314 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00438/1.85, allocations: 1.621 MB / 1.316 GB, free: 18.74 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.01126/1.861, allocations: 7.487 MB / 1.323 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/1.864, allocations: 0.7126 MB / 1.324 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/1.865, allocations: 339.4 kB / 1.324 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/1.865, allocations: 190.7 kB / 1.324 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.865, allocations: 39.97 kB / 1.324 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009508/1.866, allocations: 94.42 kB / 1.324 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 2.805e-06/1.866, allocations: 0 / 1.324 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.003679/1.87, allocations: 1.433 MB / 1.326 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/1.87, allocations: 57.41 kB / 1.326 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/1.873, allocations: 1.862 MB / 1.328 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/1.873, allocations: 36.8 kB / 1.328 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/1.874, allocations: 0.8258 MB / 1.329 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.874, allocations: 126.4 kB / 1.329 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.874, allocations: 59.11 kB / 1.329 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/1.874, allocations: 326.2 kB / 1.329 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.876, allocations: 461.8 kB / 1.329 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.877, allocations: 0.6882 MB / 1.33 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/1.879, allocations: 0.9432 MB / 1.331 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.879, allocations: 0 / 1.331 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003624/1.883, allocations: 1.486 MB / 1.333 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.883, allocations: 280.2 kB / 1.333 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.883, allocations: 6.656 kB / 1.333 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/1.883, allocations: 57.72 kB / 1.333 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.885, allocations: 235.9 kB / 1.333 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/1.886, allocations: 2.825 MB / 1.336 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.889, allocations: 289.1 kB / 1.336 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/1.889, allocations: 32.95 kB / 1.336 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.889, allocations: 6.688 kB / 1.336 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002991/1.892, allocations: 1.223 MB / 1.337 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.892, allocations: 5.688 kB / 1.337 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/1.892, allocations: 64.2 kB / 1.337 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.893, allocations: 222.1 kB / 1.338 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/1.895, allocations: 2.808 MB / 1.34 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/1.897, allocations: 224 kB / 1.341 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/1.897, allocations: 31.42 kB / 1.341 GB, free: 6.414 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001207/1.898, allocations: 0.5196 MB / 1.341 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/1.898, allocations: 174.5 kB / 1.341 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/1.901, allocations: 1.004 MB / 1.342 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.901, allocations: 3.344 kB / 1.342 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.901, allocations: 0 / 1.342 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/1.901, allocations: 3.047 kB / 1.342 GB, free: 5.82 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.003988/1.905, allocations: 2.275 MB / 1.345 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.905, allocations: 4.219 kB / 1.345 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/1.905, allocations: 111.7 kB / 1.345 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/1.906, allocations: 56.48 kB / 1.345 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/1.906, allocations: 15.88 kB / 1.345 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.907, allocations: 2.826 MB / 1.347 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.907, allocations: 0 / 1.347 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/1.909, allocations: 1.06 MB / 1.348 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/1.91, allocations: 334.4 kB / 1.349 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.91, allocations: 11.19 kB / 1.349 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.912, allocations: 145.2 kB / 1.349 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/1.912, allocations: 29.5 kB / 1.349 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/1.912, allocations: 21.02 kB / 1.349 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002154/1.914, allocations: 1.331 MB / 1.35 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.914, allocations: 0 / 1.35 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002417/1.916, allocations: 0.7706 MB / 1.351 GB, free: 1.199 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006665/1.917, allocations: 310.8 kB / 1.351 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004156/1.921, allocations: 1.835 MB / 1.353 GB, free: 352 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.921, allocations: 1.125 kB / 1.353 GB, free: 352 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009466/1.922, allocations: 0.5337 MB / 1.354 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/1.927, allocations: 0.9655 MB / 1.355 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/1.933, allocations: 3.376 MB / 1.358 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.934, allocations: 1.341 MB / 1.359 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/1.935, allocations: 135.1 kB / 1.359 GB, free: 12.86 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.935, allocations: 0 / 1.359 GB, free: 12.86 MB / 1.014 GB Notification: Performance of Templates: time 0.06458/1.999, allocations: 48.35 MB / 1.407 GB, free: 7.785 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches