Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 109.1 kB / 18.99 MB, free: 2.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 218.2 kB / 22.3 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.72/1.72, allocations: 230.6 MB / 256.1 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.869/3.869, allocations: 0.5108 GB / 0.8159 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.36 kB / 1.186 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5277, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.802/2.33, allocations: 272 MB / 1.63 GB, free: 25.25 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.04703/2.377, allocations: 25.35 MB / 1.654 GB, free: 25.16 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005837/2.383, allocations: 104.9 kB / 1.655 GB, free: 25.16 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.009477/2.392, allocations: 2.241 MB / 1.657 GB, free: 25.11 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/2.406, allocations: 3.219 MB / 1.66 GB, free: 25 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/2.418, allocations: 2.877 MB / 1.663 GB, free: 24.94 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01984/2.438, allocations: 8.089 MB / 1.671 GB, free: 24.92 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005141/2.443, allocations: 1.353 MB / 1.672 GB, free: 24.8 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/2.454, allocations: 2.812 MB / 1.675 GB, free: 24.78 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005691/2.459, allocations: 1.315 MB / 1.676 GB, free: 24.78 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001223/2.461, allocations: 201 kB / 1.676 GB, free: 24.78 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00933/2.47, allocations: 2.351 MB / 1.678 GB, free: 24.75 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002192/2.472, allocations: 0.7549 MB / 1.679 GB, free: 24.75 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004222/2.476, allocations: 0.9496 MB / 1.68 GB, free: 24.54 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/2.49, allocations: 4.555 MB / 1.685 GB, free: 24.01 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/2.49, allocations: 0 / 1.685 GB, free: 24.01 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.094e-06/2.49, allocations: 0 / 1.685 GB, free: 24.01 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001918/2.491, allocations: 0.75 kB / 1.685 GB, free: 24.01 MB / 1.295 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.0106/2.501, allocations: 2.688 MB / 1.687 GB, free: 22.63 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/2.501, allocations: 7.188 kB / 1.687 GB, free: 22.63 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/2.507, allocations: 0.7358 MB / 1.688 GB, free: 22.5 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/2.526, allocations: 5.78 MB / 1.694 GB, free: 21.89 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/2.526, allocations: 88.69 kB / 1.694 GB, free: 21.89 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007543/2.527, allocations: 109.8 kB / 1.694 GB, free: 21.89 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/2.533, allocations: 1.554 MB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-05/2.533, allocations: 5.125 kB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/2.534, allocations: 49.81 kB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/2.534, allocations: 44.48 kB / 1.695 GB, free: 21.32 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/2.538, allocations: 0.9801 MB / 1.696 GB, free: 21.3 MB / 1.295 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.01435/2.552, allocations: 6.23 MB / 1.702 GB, free: 17.68 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/2.554, allocations: 282.7 kB / 1.703 GB, free: 17.64 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/2.554, allocations: 112.4 kB / 1.703 GB, free: 17.63 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/2.555, allocations: 32.08 kB / 1.703 GB, free: 17.63 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/2.555, allocations: 43.38 kB / 1.703 GB, free: 17.59 MB / 1.295 GB Notification: Performance of pre-optimization done (n=18): time 3.667e-06/2.555, allocations: 0 / 1.703 GB, free: 17.59 MB / 1.295 GB Notification: Performance of matching and sorting (n=18): time 0.002628/2.557, allocations: 0.5053 MB / 1.703 GB, free: 17.45 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/2.557, allocations: 54.75 kB / 1.703 GB, free: 17.39 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005066/2.562, allocations: 1.842 MB / 1.705 GB, free: 17.13 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/2.563, allocations: 41.77 kB / 1.705 GB, free: 17.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/2.564, allocations: 1.05 MB / 1.706 GB, free: 16.71 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/2.564, allocations: 74.23 kB / 1.706 GB, free: 16.67 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/2.564, allocations: 181.9 kB / 1.706 GB, free: 16.63 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001034/2.565, allocations: 335.3 kB / 1.707 GB, free: 16.32 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/2.566, allocations: 243.8 kB / 1.707 GB, free: 16.31 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/2.567, allocations: 0.7524 MB / 1.708 GB, free: 15.65 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/2.57, allocations: 0.8423 MB / 1.709 GB, free: 15.14 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-05/2.57, allocations: 4.875 kB / 1.709 GB, free: 15.14 MB / 1.295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.005047/2.575, allocations: 0.9866 MB / 1.71 GB, free: 14.99 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/2.575, allocations: 14.94 kB / 1.71 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/2.575, allocations: 14.12 kB / 1.71 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/2.575, allocations: 19.66 kB / 1.71 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/2.576, allocations: 196.9 kB / 1.71 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.18e-05/2.576, allocations: 29.88 kB / 1.71 GB, free: 14.99 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/2.579, allocations: 145.8 kB / 1.71 GB, free: 14.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/2.579, allocations: 49.98 kB / 1.71 GB, free: 14.93 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003093/2.582, allocations: 0.7169 MB / 1.711 GB, free: 14.64 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001444/2.584, allocations: 0.735 MB / 1.711 GB, free: 13.91 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002171/2.586, allocations: 0.8315 MB / 1.712 GB, free: 13.23 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.677e-05/2.586, allocations: 7.562 kB / 1.712 GB, free: 13.22 MB / 1.295 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003654/2.59, allocations: 0.9652 MB / 1.713 GB, free: 12.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/2.59, allocations: 10.5 kB / 1.713 GB, free: 12.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/2.59, allocations: 14.12 kB / 1.713 GB, free: 12.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/2.59, allocations: 20.22 kB / 1.713 GB, free: 12.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/2.591, allocations: 196.8 kB / 1.713 GB, free: 12.89 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.85e-05/2.591, allocations: 25.25 kB / 1.713 GB, free: 12.89 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/2.593, allocations: 117.9 kB / 1.714 GB, free: 12.85 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/2.593, allocations: 40.45 kB / 1.714 GB, free: 12.84 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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.0003492/2.594, allocations: 242.6 kB / 1.714 GB, free: 12.63 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/2.594, allocations: 181.2 kB / 1.714 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/2.595, allocations: 165.8 kB / 1.714 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/2.595, allocations: 2.719 kB / 1.714 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/2.595, allocations: 0 / 1.714 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/2.595, allocations: 0 / 1.714 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/2.599, allocations: 1.594 MB / 1.716 GB, free: 11.56 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/2.599, allocations: 11.91 kB / 1.716 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/2.599, allocations: 52.02 kB / 1.716 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/2.599, allocations: 5.531 kB / 1.716 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/2.599, allocations: 5.219 kB / 1.716 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/2.599, allocations: 15.22 kB / 1.716 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/2.599, allocations: 5.25 kB / 1.716 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/2.601, allocations: 0.5519 MB / 1.716 GB, free: 11.16 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007459/2.601, allocations: 207.4 kB / 1.717 GB, free: 11.02 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/2.602, allocations: 13.97 kB / 1.717 GB, free: 11.02 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/2.603, allocations: 50.77 kB / 1.717 GB, free: 11.01 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/2.603, allocations: 32.06 kB / 1.717 GB, free: 11 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/2.603, allocations: 13.55 kB / 1.717 GB, free: 11 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002518/2.605, allocations: 1.257 MB / 1.718 GB, free: 10.48 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/2.605, allocations: 0 / 1.718 GB, free: 10.48 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003038/2.608, allocations: 0.7396 MB / 1.719 GB, free: 10.32 MB / 1.295 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.0006045/2.609, allocations: 237 kB / 1.719 GB, free: 10.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002372/2.611, allocations: 0.8552 MB / 1.72 GB, free: 9.984 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/2.611, allocations: 0 / 1.72 GB, free: 9.984 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/2.612, allocations: 124.4 kB / 1.72 GB, free: 9.953 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/2.616, allocations: 0.9259 MB / 1.721 GB, free: 9.652 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/2.622, allocations: 3.008 MB / 1.724 GB, free: 7.992 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/2.624, allocations: 0.906 MB / 1.724 GB, free: 7.703 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002105/2.626, allocations: 387.5 kB / 1.725 GB, free: 7.59 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/2.627, allocations: 112.4 kB / 1.725 GB, free: 7.582 MB / 1.295 GB Notification: Performance of SimCode: time 1.423e-06/2.627, allocations: 0 / 1.725 GB, free: 7.582 MB / 1.295 GB Notification: Performance of Templates: time 0.06408/2.691, allocations: 31.31 MB / 1.756 GB, free: 11 MB / 1.311 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.995302029885352]