Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001635/0.001635, allocations: 111.3 kB / 17.13 MB, free: 6.008 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.001781/0.001781, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.702/1.702, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.934/2.934, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002085/0.002085, allocations: 67.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.9935, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3832/1.377, allocations: 309.4 MB / 1.624 GB, free: 3.461 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.041/1.418, allocations: 27.61 MB / 1.651 GB, free: 7.77 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003544/1.421, allocations: 103.2 kB / 1.651 GB, free: 7.668 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.006633/1.428, allocations: 2.294 MB / 1.653 GB, free: 5.363 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.008714/1.437, allocations: 3.195 MB / 1.656 GB, free: 2.156 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.007165/1.444, allocations: 2.889 MB / 1.659 GB, free: 15.28 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.01139/1.455, allocations: 7.057 MB / 1.666 GB, free: 8.199 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/1.458, allocations: 1.427 MB / 1.668 GB, free: 6.727 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/1.463, allocations: 2.469 MB / 1.67 GB, free: 4.25 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/1.466, allocations: 1.411 MB / 1.671 GB, free: 2.84 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.0005063/1.467, allocations: 216 kB / 1.672 GB, free: 2.629 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/1.474, allocations: 3.375 MB / 1.675 GB, free: 15.25 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/1.475, allocations: 0.7866 MB / 1.676 GB, free: 14.46 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/1.477, allocations: 1.26 MB / 1.677 GB, free: 13.19 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.009302/1.486, allocations: 4.956 MB / 1.682 GB, free: 8.219 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.486, allocations: 4 kB / 1.682 GB, free: 8.215 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.673e-06/1.486, allocations: 0 / 1.682 GB, free: 8.215 MB / 1.357 GB Notification: Performance of Transformations before backend: time 5.996e-05/1.486, allocations: 0 / 1.682 GB, free: 8.215 MB / 1.357 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.005407/1.491, allocations: 2.817 MB / 1.684 GB, free: 5.32 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.491, allocations: 12.03 kB / 1.684 GB, free: 5.309 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/1.496, allocations: 0.7322 MB / 1.685 GB, free: 4.574 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.507, allocations: 5.669 MB / 1.691 GB, free: 14.85 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.508, allocations: 90.19 kB / 1.691 GB, free: 14.76 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.508, allocations: 112 kB / 1.691 GB, free: 14.65 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/1.511, allocations: 1.398 MB / 1.692 GB, free: 13.11 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.511, allocations: 7.938 kB / 1.692 GB, free: 13.11 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.511, allocations: 48 kB / 1.692 GB, free: 13.06 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/1.511, allocations: 38 kB / 1.692 GB, free: 13.02 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/1.514, allocations: 0.9872 MB / 1.693 GB, free: 12.04 MB / 1.373 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.01047/1.524, allocations: 7.78 MB / 1.701 GB, free: 3.816 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.525, allocations: 351.8 kB / 1.701 GB, free: 3.445 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/1.525, allocations: 116.7 kB / 1.701 GB, free: 3.328 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/1.526, allocations: 182.2 kB / 1.702 GB, free: 3.113 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.526, allocations: 50.48 kB / 1.702 GB, free: 3.055 MB / 1.373 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/1.526, allocations: 0 / 1.702 GB, free: 3.055 MB / 1.373 GB Notification: Performance of matching and sorting (n=18): time 0.001716/1.527, allocations: 0.5293 MB / 1.702 GB, free: 2.52 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.527, allocations: 59.31 kB / 1.702 GB, free: 2.449 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/1.531, allocations: 2.288 MB / 1.704 GB, free: 144 kB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/1.531, allocations: 33.7 kB / 1.704 GB, free: 104 kB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/1.532, allocations: 0.992 MB / 1.705 GB, free: 15.1 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/1.532, allocations: 87.36 kB / 1.706 GB, free: 15.01 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/1.533, allocations: 278.4 kB / 1.706 GB, free: 14.73 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.533, allocations: 357.9 kB / 1.706 GB, free: 14.38 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.534, allocations: 448.9 kB / 1.707 GB, free: 13.93 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.535, allocations: 0.8997 MB / 1.707 GB, free: 12.82 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/1.537, allocations: 1.209 MB / 1.709 GB, free: 11.43 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/1.537, allocations: 4 kB / 1.709 GB, free: 11.42 MB / 1.389 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00326/1.541, allocations: 1.514 MB / 1.71 GB, free: 9.898 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.541, allocations: 12.97 kB / 1.71 GB, free: 9.887 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/1.541, allocations: 12 kB / 1.71 GB, free: 9.875 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/1.541, allocations: 27.98 kB / 1.71 GB, free: 9.848 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/1.542, allocations: 243.7 kB / 1.71 GB, free: 9.609 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/1.542, allocations: 35.86 kB / 1.71 GB, free: 9.574 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.543, allocations: 218.6 kB / 1.711 GB, free: 9.359 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/1.543, allocations: 55.98 kB / 1.711 GB, free: 9.305 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001781/1.545, allocations: 0.9278 MB / 1.712 GB, free: 8.367 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001304/1.546, allocations: 0.8919 MB / 1.712 GB, free: 7.27 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001845/1.548, allocations: 1.194 MB / 1.714 GB, free: 5.883 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/1.548, allocations: 4 kB / 1.714 GB, free: 5.879 MB / 1.389 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002864/1.551, allocations: 1.494 MB / 1.715 GB, free: 4.379 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.551, allocations: 15.98 kB / 1.715 GB, free: 4.363 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.551, allocations: 12 kB / 1.715 GB, free: 4.352 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.551, allocations: 20.81 kB / 1.715 GB, free: 4.332 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/1.552, allocations: 243.6 kB / 1.715 GB, free: 4.094 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/1.552, allocations: 27.88 kB / 1.715 GB, free: 4.066 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.553, allocations: 135.4 kB / 1.716 GB, free: 3.934 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/1.553, allocations: 59.92 kB / 1.716 GB, free: 3.875 MB / 1.389 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.0002834/1.554, allocations: 247.9 kB / 1.716 GB, free: 3.625 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/1.554, allocations: 210.6 kB / 1.716 GB, free: 3.418 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/1.554, allocations: 167.9 kB / 1.716 GB, free: 3.25 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.554, allocations: 4 kB / 1.716 GB, free: 3.246 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.554, allocations: 0 / 1.716 GB, free: 3.246 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.554, allocations: 3.938 kB / 1.716 GB, free: 3.242 MB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/1.558, allocations: 1.874 MB / 1.718 GB, free: 1.254 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.558, allocations: 4 kB / 1.718 GB, free: 1.25 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/1.558, allocations: 48.23 kB / 1.718 GB, free: 1.203 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.558, allocations: 12 kB / 1.718 GB, free: 1.191 MB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.558, allocations: 8 kB / 1.718 GB, free: 1.184 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/1.558, allocations: 8 kB / 1.718 GB, free: 1.176 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.558, allocations: 11.88 kB / 1.718 GB, free: 1.164 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.559, allocations: 0.5817 MB / 1.719 GB, free: 0.5117 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/1.56, allocations: 335.6 kB / 1.719 GB, free: 168 kB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.56, allocations: 7.938 kB / 1.719 GB, free: 160 kB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/1.561, allocations: 59.88 kB / 1.719 GB, free: 100 kB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/1.561, allocations: 27.86 kB / 1.719 GB, free: 72 kB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/1.561, allocations: 8 kB / 1.719 GB, free: 64 kB / 1.389 GB Notification: Performance of sorting global known variables: time 0.002468/1.563, allocations: 1.551 MB / 1.721 GB, free: 14.5 MB / 1.404 GB Notification: Performance of sort global known variables: time 1e-07/1.563, allocations: 0 / 1.721 GB, free: 14.5 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.002263/1.565, allocations: 0.8154 MB / 1.721 GB, free: 13.68 MB / 1.404 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.0009055/1.566, allocations: 458.4 kB / 1.722 GB, free: 13.23 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.00297/1.569, allocations: 1.333 MB / 1.723 GB, free: 11.9 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.569, allocations: 0 / 1.723 GB, free: 11.9 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/1.57, allocations: 120.3 kB / 1.723 GB, free: 11.79 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/1.574, allocations: 1.073 MB / 1.724 GB, free: 10.74 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/1.579, allocations: 3.172 MB / 1.727 GB, free: 7.473 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.581, allocations: 1.485 MB / 1.729 GB, free: 5.953 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/1.581, allocations: 135.4 kB / 1.729 GB, free: 5.82 MB / 1.404 GB Notification: Performance of SimCode: time 9.82e-07/1.581, allocations: 0 / 1.729 GB, free: 5.82 MB / 1.404 GB Notification: Performance of Templates: time 0.05403/1.635, allocations: 33.66 MB / 1.762 GB, free: 4.348 MB / 1.436 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.258276695996756]