Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00673/0.00673, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.00126/0.00126, allocations: 192.2 kB / 16.68 MB, free: 6.367 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 70.66 kB / 0.9508 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3734, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMac.com.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.29/1.663, allocations: 304.4 MB / 1.385 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03969/1.703, allocations: 25.62 MB / 1.41 GB, free: 9.797 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005305/1.708, allocations: 78.56 kB / 1.41 GB, free: 9.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/1.713, allocations: 1.446 MB / 1.412 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00926/1.722, allocations: 3.003 MB / 1.415 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/1.73, allocations: 2.662 MB / 1.417 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007359/1.737, allocations: 4.347 MB / 1.422 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/1.74, allocations: 1.778 MB / 1.423 GB, free: 1.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005498/1.746, allocations: 2.307 MB / 1.425 GB, free: 388 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/1.748, allocations: 1.275 MB / 1.427 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/1.749, allocations: 208 kB / 1.427 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007578/1.756, allocations: 3.045 MB / 1.43 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/1.758, allocations: 0.619 MB / 1.431 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00208/1.76, allocations: 1.067 MB / 1.432 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.771, allocations: 4.229 MB / 1.436 GB, free: 9.828 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/1.771, allocations: 0 / 1.436 GB, free: 9.828 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.755e-06/1.771, allocations: 3.938 kB / 1.436 GB, free: 9.824 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.424e-05/1.771, allocations: 0 / 1.436 GB, free: 9.824 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.005208/1.776, allocations: 2.365 MB / 1.438 GB, free: 8.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.776, allocations: 14.02 kB / 1.438 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/1.78, allocations: 0.6849 MB / 1.439 GB, free: 7.688 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/1.785, allocations: 2.049 MB / 1.441 GB, free: 6.098 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/1.785, allocations: 86.03 kB / 1.441 GB, free: 6.059 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/1.785, allocations: 114.1 kB / 1.441 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/1.788, allocations: 1.444 MB / 1.442 GB, free: 4.523 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/1.788, allocations: 7.938 kB / 1.442 GB, free: 4.516 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/1.788, allocations: 48 kB / 1.442 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/1.788, allocations: 45.98 kB / 1.442 GB, free: 4.426 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/1.791, allocations: 1.108 MB / 1.443 GB, free: 3.316 MB / 1.061 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.009404/1.801, allocations: 7.513 MB / 1.451 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/1.803, allocations: 480.7 kB / 1.451 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/1.803, allocations: 152.8 kB / 1.451 GB, free: 10.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/1.803, allocations: 186.2 kB / 1.452 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.803, allocations: 38.56 kB / 1.452 GB, free: 10.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.304e-06/1.803, allocations: 0 / 1.452 GB, free: 10.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.002194/1.806, allocations: 0.5919 MB / 1.452 GB, free: 9.895 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/1.806, allocations: 51.41 kB / 1.452 GB, free: 9.832 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/1.808, allocations: 1.759 MB / 1.454 GB, free: 8.027 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-05/1.809, allocations: 33.7 kB / 1.454 GB, free: 7.988 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/1.809, allocations: 0.8616 MB / 1.455 GB, free: 7.121 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/1.809, allocations: 75.42 kB / 1.455 GB, free: 7.047 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.81, allocations: 182.5 kB / 1.455 GB, free: 6.863 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.81, allocations: 333.9 kB / 1.455 GB, free: 6.531 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/1.811, allocations: 316.7 kB / 1.456 GB, free: 6.219 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.812, allocations: 0.7115 MB / 1.456 GB, free: 5.301 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/1.814, allocations: 0.9297 MB / 1.457 GB, free: 4.188 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.814, allocations: 4 kB / 1.457 GB, free: 4.184 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002952/1.817, allocations: 1.105 MB / 1.458 GB, free: 3.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/1.817, allocations: 12 kB / 1.458 GB, free: 3.059 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/1.817, allocations: 15.94 kB / 1.458 GB, free: 3.043 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.121e-05/1.817, allocations: 20.78 kB / 1.458 GB, free: 3.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/1.818, allocations: 211.7 kB / 1.459 GB, free: 2.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/1.818, allocations: 27.86 kB / 1.459 GB, free: 2.789 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.82, allocations: 215.5 kB / 1.459 GB, free: 2.578 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.82, allocations: 51.98 kB / 1.459 GB, free: 2.527 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/1.822, allocations: 0.6463 MB / 1.46 GB, free: 1.875 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001215/1.823, allocations: 0.6765 MB / 1.46 GB, free: 1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001636/1.825, allocations: 0.8621 MB / 1.461 GB, free: 15.95 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.656e-06/1.825, allocations: 11.94 kB / 1.461 GB, free: 15.94 MB / 1.092 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002809/1.828, allocations: 1.044 MB / 1.462 GB, free: 14.89 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.828, allocations: 8 kB / 1.462 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.828, allocations: 16 kB / 1.462 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.828, allocations: 16 kB / 1.462 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/1.829, allocations: 203.7 kB / 1.462 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/1.829, allocations: 27.86 kB / 1.462 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.83, allocations: 140.2 kB / 1.462 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/1.83, allocations: 47.98 kB / 1.463 GB, free: 14.44 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003411/1.831, allocations: 239.8 kB / 1.463 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/1.831, allocations: 170.9 kB / 1.463 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.832, allocations: 466.8 kB / 1.463 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.832, allocations: 8 kB / 1.463 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.832, allocations: 0 / 1.463 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.832, allocations: 3.984 kB / 1.463 GB, free: 13.55 MB / 1.092 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.003297/1.836, allocations: 1.623 MB / 1.465 GB, free: 11.83 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.836, allocations: 4 kB / 1.465 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/1.836, allocations: 59.89 kB / 1.465 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.836, allocations: 4 kB / 1.465 GB, free: 11.76 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/1.836, allocations: 7.984 kB / 1.465 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.836, allocations: 4 kB / 1.465 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.836, allocations: 11.97 kB / 1.465 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.838, allocations: 0.6094 MB / 1.466 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/1.838, allocations: 307.9 kB / 1.466 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.838, allocations: 8 kB / 1.466 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/1.839, allocations: 63.92 kB / 1.466 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/1.839, allocations: 15.97 kB / 1.466 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/1.839, allocations: 23.92 kB / 1.466 GB, free: 10.66 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001932/1.841, allocations: 1.211 MB / 1.467 GB, free: 9.422 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.9e-07/1.841, allocations: 0 / 1.467 GB, free: 9.422 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002251/1.844, allocations: 0.6747 MB / 1.468 GB, free: 8.746 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006622/1.844, allocations: 301.6 kB / 1.468 GB, free: 8.445 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00281/1.847, allocations: 1.016 MB / 1.469 GB, free: 7.434 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.847, allocations: 4 kB / 1.469 GB, free: 7.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005131/1.848, allocations: 157 kB / 1.469 GB, free: 7.277 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.851, allocations: 0.8528 MB / 1.47 GB, free: 6.434 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/1.855, allocations: 2.439 MB / 1.473 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/1.856, allocations: 1.283 MB / 1.474 GB, free: 2.621 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001403/1.858, allocations: 366 kB / 1.474 GB, free: 2.258 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/1.858, allocations: 115.4 kB / 1.474 GB, free: 2.145 MB / 1.092 GB Notification: Performance of SimCode: time 1.112e-06/1.858, allocations: 4 kB / 1.474 GB, free: 2.141 MB / 1.092 GB Notification: Performance of Templates: time 0.05263/1.911, allocations: 29.6 MB / 1.503 GB, free: 4.875 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches