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.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_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.007667/0.007667, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.001855/0.001855, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.475/1.475, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.39/2.39, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7135, allocations: 140.3 MB / 0.9496 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3153/1.029, allocations: 302.6 MB / 1.245 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6986/1.728, allocations: 25.74 MB / 1.27 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004275/1.732, allocations: 72 kB / 1.27 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004691/1.737, allocations: 1.2 MB / 1.271 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008176/1.745, allocations: 2.7 MB / 1.274 GB, free: 25.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007139/1.752, allocations: 2.363 MB / 1.276 GB, free: 25.42 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009352/1.761, allocations: 5.63 MB / 1.282 GB, free: 25.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/1.765, allocations: 1.499 MB / 1.283 GB, free: 25.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005696/1.77, allocations: 1.959 MB / 1.285 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/1.774, allocations: 1.305 MB / 1.287 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000484/1.775, allocations: 93.28 kB / 1.287 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006784/1.781, allocations: 3.297 MB / 1.29 GB, free: 25.1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/1.782, allocations: 0.5144 MB / 1.29 GB, free: 25.1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/1.784, allocations: 0.9473 MB / 1.291 GB, free: 25.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004954/1.789, allocations: 3.298 MB / 1.295 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.789, allocations: 0 / 1.295 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.789, allocations: 0 / 1.295 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.972e-05/1.789, allocations: 0 / 1.295 GB, free: 24.9 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.004462/1.794, allocations: 2.315 MB / 1.297 GB, free: 23.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.794, allocations: 7.875 kB / 1.297 GB, free: 23.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/1.799, allocations: 0.6786 MB / 1.297 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/1.803, allocations: 1.971 MB / 1.299 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006209/1.804, allocations: 198 kB / 1.3 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/1.804, allocations: 110.6 kB / 1.3 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/1.807, allocations: 1.429 MB / 1.301 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/1.807, allocations: 6.5 kB / 1.301 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.807, allocations: 45.91 kB / 1.301 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/1.807, allocations: 41.22 kB / 1.301 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/1.81, allocations: 1.15 MB / 1.302 GB, free: 22.78 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.008206/1.818, allocations: 6.964 MB / 1.309 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/1.82, allocations: 424 kB / 1.309 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/1.82, allocations: 161.8 kB / 1.31 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/1.821, allocations: 186.7 kB / 1.31 GB, free: 18.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/1.821, allocations: 33.75 kB / 1.31 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006585/1.821, allocations: 74.05 kB / 1.31 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/1.821, allocations: 6.188 kB / 1.31 GB, free: 18.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001883/1.823, allocations: 0.6176 MB / 1.311 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/1.823, allocations: 61.62 kB / 1.311 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/1.826, allocations: 1.724 MB / 1.312 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/1.826, allocations: 32.89 kB / 1.312 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.826, allocations: 0.8333 MB / 1.313 GB, free: 17.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/1.826, allocations: 85.2 kB / 1.313 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.827, allocations: 170.4 kB / 1.313 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/1.827, allocations: 338.4 kB / 1.314 GB, free: 17.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008735/1.828, allocations: 326.5 kB / 1.314 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.829, allocations: 0.6846 MB / 1.315 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/1.83, allocations: 0.8967 MB / 1.316 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.83, allocations: 4.719 kB / 1.316 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002556/1.833, allocations: 1.087 MB / 1.317 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.833, allocations: 10.31 kB / 1.317 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.833, allocations: 18.59 kB / 1.317 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/1.833, allocations: 15.16 kB / 1.317 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/1.834, allocations: 209.3 kB / 1.317 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/1.834, allocations: 30.62 kB / 1.317 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.836, allocations: 173.5 kB / 1.317 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/1.836, allocations: 37.05 kB / 1.317 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00157/1.837, allocations: 0.6569 MB / 1.318 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008509/1.838, allocations: 0.6582 MB / 1.318 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/1.839, allocations: 0.832 MB / 1.319 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/1.839, allocations: 7.219 kB / 1.319 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002651/1.842, allocations: 1.021 MB / 1.32 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.842, allocations: 9.844 kB / 1.32 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.842, allocations: 14.55 kB / 1.32 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.842, allocations: 16.25 kB / 1.32 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/1.843, allocations: 196.8 kB / 1.32 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/1.843, allocations: 24.17 kB / 1.32 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.845, allocations: 150 kB / 1.321 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/1.845, allocations: 40.14 kB / 1.321 GB, free: 15.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * 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.0003054/1.845, allocations: 231.6 kB / 1.321 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.845, allocations: 162.2 kB / 1.321 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/1.847, allocations: 492 kB / 1.321 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.847, allocations: 3.312 kB / 1.321 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.847, allocations: 0 / 1.321 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.847, allocations: 7.938 kB / 1.321 GB, free: 14.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.003133/1.85, allocations: 1.621 MB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.85, allocations: 2.719 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/1.85, allocations: 64.28 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.85, allocations: 2.5 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.85, allocations: 5.078 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.85, allocations: 7.5 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.85, allocations: 3.125 kB / 1.323 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.851, allocations: 0.6239 MB / 1.324 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/1.852, allocations: 293.2 kB / 1.324 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/1.852, allocations: 6.375 kB / 1.324 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/1.853, allocations: 83.78 kB / 1.324 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/1.853, allocations: 29.11 kB / 1.324 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/1.853, allocations: 20.59 kB / 1.324 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001814/1.855, allocations: 1.198 MB / 1.325 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.855, allocations: 0 / 1.325 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002054/1.857, allocations: 0.6668 MB / 1.326 GB, free: 13.68 MB / 0.9981 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 (20): * Single equations (assignments): 20 * 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.000648/1.858, allocations: 294.9 kB / 1.326 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00261/1.86, allocations: 1.029 MB / 1.327 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.86, allocations: 0 / 1.327 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/1.861, allocations: 160.1 kB / 1.327 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.864, allocations: 0.7964 MB / 1.328 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/1.868, allocations: 2.971 MB / 1.331 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.869, allocations: 1.29 MB / 1.332 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/1.869, allocations: 118.2 kB / 1.332 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.869, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.03614/1.905, allocations: 27.29 MB / 1.359 GB, free: 15.11 MB / 1.014 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/jenkins1/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