Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007111/0.007111, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001411/0.001411, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.72/2.72, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.184, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3446/1.529, allocations: 305.6 MB / 1.519 GB, free: 15.41 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04392/1.573, allocations: 27.49 MB / 1.546 GB, free: 3.848 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/1.577, allocations: 83.56 kB / 1.546 GB, free: 3.766 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.007514/1.585, allocations: 2.277 MB / 1.548 GB, free: 1.48 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009653/1.594, allocations: 3.174 MB / 1.551 GB, free: 14.29 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00826/1.603, allocations: 2.801 MB / 1.554 GB, free: 11.5 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0151/1.618, allocations: 7.264 MB / 1.561 GB, free: 4.211 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004112/1.622, allocations: 1.42 MB / 1.562 GB, free: 2.746 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006837/1.629, allocations: 2.305 MB / 1.565 GB, free: 444 kB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.107/2.736, allocations: 1.341 MB / 1.566 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001027/2.737, allocations: 215.4 kB / 1.566 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/2.748, allocations: 3.228 MB / 1.569 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/2.749, allocations: 0.7764 MB / 1.57 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/2.752, allocations: 1.26 MB / 1.571 GB, free: 35.17 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.012/2.764, allocations: 4.943 MB / 1.576 GB, free: 34.92 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/2.764, allocations: 1.156 kB / 1.576 GB, free: 34.92 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.625e-06/2.764, allocations: 0.6094 kB / 1.576 GB, free: 34.92 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000105/2.764, allocations: 0.625 kB / 1.576 GB, free: 34.92 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.008029/2.772, allocations: 2.818 MB / 1.579 GB, free: 33.45 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/2.772, allocations: 10.75 kB / 1.579 GB, free: 33.45 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/2.777, allocations: 0.7276 MB / 1.58 GB, free: 33.32 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/2.787, allocations: 5.665 MB / 1.585 GB, free: 32.76 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/2.788, allocations: 88.03 kB / 1.585 GB, free: 32.75 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/2.788, allocations: 111.3 kB / 1.585 GB, free: 32.75 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/2.79, allocations: 1.4 MB / 1.587 GB, free: 32.39 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/2.79, allocations: 5.938 kB / 1.587 GB, free: 32.39 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/2.791, allocations: 51.89 kB / 1.587 GB, free: 32.39 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/2.791, allocations: 41 kB / 1.587 GB, free: 32.38 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/2.793, allocations: 0.9749 MB / 1.588 GB, free: 32.38 MB / 1.279 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.008817/2.801, allocations: 7.669 MB / 1.595 GB, free: 27.86 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/2.802, allocations: 359.2 kB / 1.596 GB, free: 27.74 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/2.803, allocations: 114.1 kB / 1.596 GB, free: 27.73 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/2.803, allocations: 187.1 kB / 1.596 GB, free: 27.55 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/2.803, allocations: 43.28 kB / 1.596 GB, free: 27.51 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 2.254e-06/2.803, allocations: 0.9375 kB / 1.596 GB, free: 27.51 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001735/2.805, allocations: 0.5306 MB / 1.596 GB, free: 27.36 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/2.805, allocations: 58.36 kB / 1.597 GB, free: 27.29 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/2.808, allocations: 2.279 MB / 1.599 GB, free: 27.04 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/2.808, allocations: 39.05 kB / 1.599 GB, free: 27.01 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/2.809, allocations: 0.9922 MB / 1.6 GB, free: 26.68 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/2.809, allocations: 86.41 kB / 1.6 GB, free: 26.63 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/2.809, allocations: 281.2 kB / 1.6 GB, free: 26.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/2.809, allocations: 356.1 kB / 1.6 GB, free: 26.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/2.81, allocations: 456.7 kB / 1.601 GB, free: 26.29 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/2.811, allocations: 0.8924 MB / 1.602 GB, free: 25.74 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/2.813, allocations: 1.215 MB / 1.603 GB, free: 25.23 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/2.813, allocations: 3.406 kB / 1.603 GB, free: 25.23 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002712/2.816, allocations: 1.518 MB / 1.604 GB, free: 25.07 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/2.816, allocations: 15.69 kB / 1.604 GB, free: 25.07 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/2.816, allocations: 13.53 kB / 1.604 GB, free: 25.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/2.816, allocations: 19.53 kB / 1.604 GB, free: 25.07 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/2.816, allocations: 245.4 kB / 1.605 GB, free: 25.07 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/2.816, allocations: 31.14 kB / 1.605 GB, free: 25.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/2.818, allocations: 217.8 kB / 1.605 GB, free: 24.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/2.818, allocations: 52.3 kB / 1.605 GB, free: 24.98 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001681/2.82, allocations: 0.9291 MB / 1.606 GB, free: 24.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009642/2.821, allocations: 0.8883 MB / 1.607 GB, free: 24.35 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001437/2.822, allocations: 1.2 MB / 1.608 GB, free: 23.83 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.868e-06/2.822, allocations: 4.75 kB / 1.608 GB, free: 23.83 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002518/2.825, allocations: 1.496 MB / 1.609 GB, free: 23.68 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/2.825, allocations: 13.38 kB / 1.609 GB, free: 23.68 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/2.825, allocations: 18.78 kB / 1.609 GB, free: 23.68 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/2.825, allocations: 19.34 kB / 1.609 GB, free: 23.68 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/2.826, allocations: 240.8 kB / 1.61 GB, free: 23.68 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/2.826, allocations: 29.12 kB / 1.61 GB, free: 23.68 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/2.828, allocations: 138.9 kB / 1.61 GB, free: 23.64 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/2.828, allocations: 56.25 kB / 1.61 GB, free: 23.64 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000351/2.828, allocations: 252.5 kB / 1.61 GB, free: 23.44 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/2.828, allocations: 207.1 kB / 1.61 GB, free: 23.32 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/2.829, allocations: 170.4 kB / 1.611 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/2.829, allocations: 4.781 kB / 1.611 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/2.829, allocations: 1.031 kB / 1.611 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/2.829, allocations: 5.141 kB / 1.611 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/2.832, allocations: 1.871 MB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/2.832, allocations: 3.344 kB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/2.832, allocations: 50.59 kB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/2.832, allocations: 8.25 kB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/2.832, allocations: 10.53 kB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/2.832, allocations: 5.766 kB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/2.832, allocations: 8.062 kB / 1.612 GB, free: 22.75 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/2.833, allocations: 0.5877 MB / 1.613 GB, free: 22.42 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/2.834, allocations: 331.3 kB / 1.613 GB, free: 22.21 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/2.834, allocations: 12.3 kB / 1.613 GB, free: 22.21 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/2.835, allocations: 48.56 kB / 1.613 GB, free: 22.21 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/2.835, allocations: 29.84 kB / 1.613 GB, free: 22.21 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/2.835, allocations: 9.406 kB / 1.613 GB, free: 22.21 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00273/2.838, allocations: 1.545 MB / 1.615 GB, free: 22.06 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/2.838, allocations: 0.5 kB / 1.615 GB, free: 22.06 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004464/2.842, allocations: 0.8246 MB / 1.616 GB, free: 21.98 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.001431/2.843, allocations: 459 kB / 1.616 GB, free: 21.85 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002984/2.846, allocations: 1.334 MB / 1.617 GB, free: 21.83 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/2.846, allocations: 2.625 kB / 1.617 GB, free: 21.83 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/2.847, allocations: 125.1 kB / 1.618 GB, free: 21.82 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/2.852, allocations: 1.073 MB / 1.619 GB, free: 21.63 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/2.857, allocations: 3.059 MB / 1.622 GB, free: 20.31 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/2.858, allocations: 1.484 MB / 1.623 GB, free: 19.56 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002113/2.86, allocations: 462.4 kB / 1.624 GB, free: 19.44 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/2.861, allocations: 121.3 kB / 1.624 GB, free: 19.43 MB / 1.279 GB Notification: Performance of SimCode: time 1.763e-06/2.861, allocations: 0 / 1.624 GB, free: 19.43 MB / 1.279 GB Notification: Performance of Templates: time 0.07638/2.937, allocations: 36.25 MB / 1.659 GB, free: 13.11 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches