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.007172/0.007172, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001201/0.001201, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.451/2.451, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 66.61 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4094, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.292/1.701, allocations: 304.4 MB / 1.385 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03616/1.737, allocations: 25.62 MB / 1.41 GB, free: 9.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/1.743, allocations: 77.44 kB / 1.41 GB, free: 9.781 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005247/1.748, allocations: 1.415 MB / 1.412 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01292/1.761, allocations: 2.887 MB / 1.415 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/1.773, allocations: 2.63 MB / 1.417 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008285/1.781, allocations: 4.339 MB / 1.421 GB, free: 3.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003687/1.785, allocations: 1.775 MB / 1.423 GB, free: 1.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006119/1.791, allocations: 2.284 MB / 1.425 GB, free: 452 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/1.794, allocations: 1.281 MB / 1.427 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006848/1.795, allocations: 206.2 kB / 1.427 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00795/1.803, allocations: 3.026 MB / 1.43 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/1.804, allocations: 0.6197 MB / 1.43 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002662/1.807, allocations: 1.062 MB / 1.431 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.009988/1.817, allocations: 4.228 MB / 1.435 GB, free: 9.906 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.817, allocations: 6.438 kB / 1.435 GB, free: 9.902 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.665e-06/1.817, allocations: 0 / 1.435 GB, free: 9.902 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001361/1.817, allocations: 0 / 1.435 GB, free: 9.902 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.006494/1.824, allocations: 2.293 MB / 1.438 GB, free: 8.156 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.824, allocations: 11.12 kB / 1.438 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.828, allocations: 0.674 MB / 1.438 GB, free: 7.852 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/1.833, allocations: 2.031 MB / 1.44 GB, free: 6.281 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/1.833, allocations: 91.06 kB / 1.44 GB, free: 6.234 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/1.834, allocations: 114.2 kB / 1.441 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/1.837, allocations: 1.448 MB / 1.442 GB, free: 4.773 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/1.837, allocations: 3.938 kB / 1.442 GB, free: 4.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.837, allocations: 48 kB / 1.442 GB, free: 4.723 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/1.837, allocations: 38 kB / 1.442 GB, free: 4.688 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/1.84, allocations: 1.104 MB / 1.443 GB, free: 3.582 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.01129/1.852, allocations: 7.507 MB / 1.45 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/1.854, allocations: 475.6 kB / 1.451 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/1.854, allocations: 152.7 kB / 1.451 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/1.854, allocations: 194.2 kB / 1.451 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.854, allocations: 30.56 kB / 1.451 GB, free: 10.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.495e-06/1.854, allocations: 0 / 1.451 GB, free: 10.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.002164/1.857, allocations: 0.5873 MB / 1.452 GB, free: 10.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.857, allocations: 55.41 kB / 1.452 GB, free: 10.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/1.86, allocations: 1.755 MB / 1.454 GB, free: 8.305 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/1.86, allocations: 29.7 kB / 1.454 GB, free: 8.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/1.861, allocations: 0.8482 MB / 1.454 GB, free: 7.414 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/1.861, allocations: 75.03 kB / 1.455 GB, free: 7.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/1.861, allocations: 174.4 kB / 1.455 GB, free: 7.164 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.861, allocations: 341.9 kB / 1.455 GB, free: 6.824 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/1.862, allocations: 312.7 kB / 1.455 GB, free: 6.516 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/1.864, allocations: 0.7193 MB / 1.456 GB, free: 5.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.866, allocations: 0.9175 MB / 1.457 GB, free: 4.488 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/1.866, allocations: 4 kB / 1.457 GB, free: 4.484 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003338/1.869, allocations: 1.105 MB / 1.458 GB, free: 3.371 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/1.869, allocations: 11.94 kB / 1.458 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.317e-05/1.869, allocations: 16 kB / 1.458 GB, free: 3.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.312e-05/1.869, allocations: 16 kB / 1.458 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/1.87, allocations: 212 kB / 1.458 GB, free: 3.121 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.728e-05/1.87, allocations: 27.88 kB / 1.458 GB, free: 3.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/1.872, allocations: 215.2 kB / 1.458 GB, free: 2.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.872, allocations: 43.98 kB / 1.459 GB, free: 2.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001611/1.874, allocations: 0.6463 MB / 1.459 GB, free: 2.188 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001128/1.875, allocations: 0.6804 MB / 1.46 GB, free: 1.309 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/1.877, allocations: 0.866 MB / 1.461 GB, free: 264 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.568e-05/1.877, allocations: 4 kB / 1.461 GB, free: 260 kB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002603/1.879, allocations: 1.03 MB / 1.462 GB, free: 15.21 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.879, allocations: 12.94 kB / 1.462 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.879, allocations: 12 kB / 1.462 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.879, allocations: 20 kB / 1.462 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/1.88, allocations: 203.6 kB / 1.462 GB, free: 14.97 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/1.88, allocations: 23.94 kB / 1.462 GB, free: 14.95 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.882, allocations: 152 kB / 1.462 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/1.882, allocations: 43.98 kB / 1.462 GB, free: 14.76 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.0003497/1.882, allocations: 235.8 kB / 1.462 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/1.883, allocations: 158 kB / 1.463 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.885, allocations: 470.7 kB / 1.463 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.885, allocations: 0 / 1.463 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.885, allocations: 7.938 kB / 1.463 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.885, allocations: 0 / 1.463 GB, free: 13.89 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.004032/1.889, allocations: 1.623 MB / 1.465 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.889, allocations: 3.938 kB / 1.465 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/1.889, allocations: 68.14 kB / 1.465 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.889, allocations: 4 kB / 1.465 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/1.889, allocations: 7.984 kB / 1.465 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/1.889, allocations: 0 / 1.465 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.889, allocations: 7.984 kB / 1.465 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/1.891, allocations: 0.6124 MB / 1.465 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/1.891, allocations: 291 kB / 1.466 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003936/1.892, allocations: 7.984 kB / 1.466 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.893, allocations: 63.94 kB / 1.466 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/1.893, allocations: 19.98 kB / 1.466 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-05/1.893, allocations: 19.91 kB / 1.466 GB, free: 11 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002553/1.896, allocations: 1.214 MB / 1.467 GB, free: 9.762 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/1.896, allocations: 0 / 1.467 GB, free: 9.762 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002985/1.899, allocations: 0.6707 MB / 1.467 GB, free: 9.09 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.0009031/1.9, allocations: 291.9 kB / 1.468 GB, free: 8.797 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00291/1.903, allocations: 1.025 MB / 1.469 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.903, allocations: 384 / 1.469 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/1.903, allocations: 152.4 kB / 1.469 GB, free: 7.629 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.907, allocations: 0.8599 MB / 1.47 GB, free: 6.781 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/1.912, allocations: 2.379 MB / 1.472 GB, free: 4.344 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/1.914, allocations: 1.291 MB / 1.473 GB, free: 3.023 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001798/1.916, allocations: 366 kB / 1.474 GB, free: 2.66 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/1.916, allocations: 111.4 kB / 1.474 GB, free: 2.551 MB / 1.092 GB Notification: Performance of SimCode: time 1.072e-06/1.916, allocations: 0 / 1.474 GB, free: 2.551 MB / 1.092 GB Notification: Performance of Templates: time 0.06416/1.98, allocations: 30.05 MB / 1.503 GB, free: 4.828 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