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.001733/0.001733, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.002095/0.002095, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.605/1.605, allocations: 230.6 MB / 252.8 MB, free: 8.961 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 3.331/3.331, allocations: 0.4899 GB / 0.7915 GB, free: 33.55 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.002213/0.002213, allocations: 67.83 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4979, allocations: 176.1 MB / 1.321 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.521/2.019, allocations: 309.4 MB / 1.623 GB, free: 27.91 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0426/2.062, allocations: 27.62 MB / 1.65 GB, free: 27.82 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005109/2.067, allocations: 105.3 kB / 1.65 GB, free: 27.82 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.008148/2.075, allocations: 2.278 MB / 1.653 GB, free: 27.78 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/2.087, allocations: 3.189 MB / 1.656 GB, free: 27.67 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/2.098, allocations: 2.896 MB / 1.659 GB, free: 27.61 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01406/2.112, allocations: 7.062 MB / 1.665 GB, free: 27.6 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/2.115, allocations: 1.425 MB / 1.667 GB, free: 27.47 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006501/2.122, allocations: 2.463 MB / 1.669 GB, free: 27.45 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004315/2.126, allocations: 1.413 MB / 1.671 GB, free: 27.44 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/2.127, allocations: 216.2 kB / 1.671 GB, free: 27.44 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009347/2.136, allocations: 3.378 MB / 1.674 GB, free: 27.41 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001732/2.138, allocations: 0.7785 MB / 1.675 GB, free: 27.41 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003661/2.142, allocations: 1.264 MB / 1.676 GB, free: 27.14 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01287/2.155, allocations: 4.957 MB / 1.681 GB, free: 26.61 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/2.155, allocations: 0 / 1.681 GB, free: 26.61 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.965e-06/2.155, allocations: 0 / 1.681 GB, free: 26.61 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000201/2.155, allocations: 0 / 1.681 GB, free: 26.61 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.009519/2.164, allocations: 2.819 MB / 1.684 GB, free: 25.12 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/2.164, allocations: 9.156 kB / 1.684 GB, free: 25.12 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/2.17, allocations: 0.7299 MB / 1.684 GB, free: 24.99 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/2.182, allocations: 5.672 MB / 1.69 GB, free: 24.41 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/2.182, allocations: 96.16 kB / 1.69 GB, free: 24.4 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/2.183, allocations: 116.6 kB / 1.69 GB, free: 24.4 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/2.186, allocations: 1.398 MB / 1.692 GB, free: 24.02 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/2.187, allocations: 8.938 kB / 1.692 GB, free: 24.02 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/2.187, allocations: 50.56 kB / 1.692 GB, free: 24.02 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/2.187, allocations: 39.53 kB / 1.692 GB, free: 24.01 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/2.19, allocations: 0.971 MB / 1.693 GB, free: 24 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.01048/2.2, allocations: 7.799 MB / 1.7 GB, free: 19.23 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/2.201, allocations: 364.2 kB / 1.701 GB, free: 19.11 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/2.201, allocations: 107.8 kB / 1.701 GB, free: 19.09 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/2.202, allocations: 189.7 kB / 1.701 GB, free: 18.91 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/2.202, allocations: 40.34 kB / 1.701 GB, free: 18.87 MB / 1.295 GB Notification: Performance of pre-optimization done (n=18): time 2.454e-06/2.202, allocations: 4 kB / 1.701 GB, free: 18.86 MB / 1.295 GB Notification: Performance of matching and sorting (n=18): time 0.001938/2.203, allocations: 0.5255 MB / 1.701 GB, free: 18.71 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/2.204, allocations: 57.91 kB / 1.701 GB, free: 18.65 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004573/2.208, allocations: 2.279 MB / 1.704 GB, free: 18.39 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/2.208, allocations: 38.02 kB / 1.704 GB, free: 18.36 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009702/2.209, allocations: 0.9892 MB / 1.705 GB, free: 18.03 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/2.209, allocations: 84.17 kB / 1.705 GB, free: 17.98 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/2.21, allocations: 287.3 kB / 1.705 GB, free: 17.95 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/2.21, allocations: 359.7 kB / 1.705 GB, free: 17.64 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/2.211, allocations: 452 kB / 1.706 GB, free: 17.62 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/2.212, allocations: 0.8961 MB / 1.707 GB, free: 17.05 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/2.214, allocations: 1.212 MB / 1.708 GB, free: 16.51 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/2.214, allocations: 12.66 kB / 1.708 GB, free: 16.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003168/2.217, allocations: 1.512 MB / 1.709 GB, free: 16.33 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/2.217, allocations: 15.88 kB / 1.709 GB, free: 16.32 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/2.217, allocations: 16.69 kB / 1.709 GB, free: 16.32 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/2.217, allocations: 18.59 kB / 1.709 GB, free: 16.32 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/2.218, allocations: 251.1 kB / 1.71 GB, free: 16.32 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.541e-05/2.218, allocations: 26.92 kB / 1.71 GB, free: 16.32 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/2.22, allocations: 208.6 kB / 1.71 GB, free: 16.23 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/2.22, allocations: 57.14 kB / 1.71 GB, free: 16.23 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001936/2.222, allocations: 0.9291 MB / 1.711 GB, free: 16.14 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001109/2.223, allocations: 0.8868 MB / 1.712 GB, free: 15.57 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/2.225, allocations: 1.199 MB / 1.713 GB, free: 15.02 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-05/2.225, allocations: 4.875 kB / 1.713 GB, free: 15.02 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002928/2.228, allocations: 1.495 MB / 1.714 GB, free: 14.72 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.228, allocations: 10.19 kB / 1.714 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/2.228, allocations: 16.44 kB / 1.714 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/2.228, allocations: 20.05 kB / 1.714 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/2.228, allocations: 245.8 kB / 1.715 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/2.228, allocations: 33.12 kB / 1.715 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/2.23, allocations: 139.3 kB / 1.715 GB, free: 14.65 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/2.23, allocations: 50.31 kB / 1.715 GB, free: 14.64 MB / 1.295 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.0003632/2.231, allocations: 249.4 kB / 1.715 GB, free: 14.43 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/2.231, allocations: 204.8 kB / 1.715 GB, free: 14.32 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006894/2.232, allocations: 173 kB / 1.715 GB, free: 14.24 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/2.232, allocations: 1.812 kB / 1.715 GB, free: 14.24 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/2.232, allocations: 1.5 kB / 1.715 GB, free: 14.24 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/2.232, allocations: 2.469 kB / 1.715 GB, free: 14.24 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00451/2.237, allocations: 1.876 MB / 1.717 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.237, allocations: 3.281 kB / 1.717 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/2.237, allocations: 48.22 kB / 1.717 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/2.237, allocations: 4.906 kB / 1.717 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/2.237, allocations: 19.12 kB / 1.717 GB, free: 13.16 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/2.237, allocations: 9.938 kB / 1.717 GB, free: 13.16 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/2.237, allocations: 9.094 kB / 1.717 GB, free: 13.16 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/2.238, allocations: 0.579 MB / 1.718 GB, free: 12.75 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008659/2.239, allocations: 339.4 kB / 1.718 GB, free: 12.48 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/2.24, allocations: 15.72 kB / 1.718 GB, free: 12.48 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/2.241, allocations: 49.95 kB / 1.718 GB, free: 12.47 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/2.241, allocations: 26.22 kB / 1.718 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/2.241, allocations: 8.25 kB / 1.718 GB, free: 12.46 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003424/2.244, allocations: 1.551 MB / 1.72 GB, free: 11.84 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.244, allocations: 2.438 kB / 1.72 GB, free: 11.84 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003769/2.248, allocations: 0.8118 MB / 1.721 GB, free: 11.72 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.001341/2.249, allocations: 441.7 kB / 1.721 GB, free: 11.56 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003172/2.252, allocations: 1.333 MB / 1.722 GB, free: 11.17 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/2.253, allocations: 0 / 1.722 GB, free: 11.17 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/2.253, allocations: 126.7 kB / 1.723 GB, free: 11.14 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006194/2.259, allocations: 1.076 MB / 1.724 GB, free: 10.79 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008922/2.268, allocations: 3.058 MB / 1.727 GB, free: 9.105 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/2.27, allocations: 1.483 MB / 1.728 GB, free: 8.246 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002552/2.273, allocations: 466.2 kB / 1.728 GB, free: 8.121 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/2.273, allocations: 124.8 kB / 1.729 GB, free: 8.109 MB / 1.295 GB Notification: Performance of SimCode: time 1.753e-06/2.273, allocations: 3.25 kB / 1.729 GB, free: 8.109 MB / 1.295 GB Notification: Performance of Templates: time 0.07986/2.353, allocations: 36.41 MB / 1.764 GB, free: 14.77 MB / 1.326 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/jenkins/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: 12.590865613892674]