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.00184/0.00184, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002312/0.002312, allocations: 209.8 kB / 23 MB, free: 4.973 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.387/3.387, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.00203/0.00203, allocations: 64.92 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5175, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.4046/0.9221, allocations: 272 MB / 1.593 GB, free: 4 kB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.28/2.202, allocations: 25.34 MB / 1.617 GB, free: 25.37 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004705/2.207, allocations: 104.9 kB / 1.618 GB, free: 25.37 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.008103/2.215, allocations: 2.248 MB / 1.62 GB, free: 25.37 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/2.226, allocations: 3.225 MB / 1.623 GB, free: 25.35 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009376/2.236, allocations: 2.882 MB / 1.626 GB, free: 25.3 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01765/2.253, allocations: 7.238 MB / 1.633 GB, free: 25.3 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005188/2.259, allocations: 1.388 MB / 1.634 GB, free: 25.17 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0094/2.268, allocations: 2.799 MB / 1.637 GB, free: 25.16 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/2.274, allocations: 1.41 MB / 1.638 GB, free: 25.15 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0008795/2.275, allocations: 201.7 kB / 1.638 GB, free: 25.15 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009377/2.284, allocations: 2.726 MB / 1.641 GB, free: 25.12 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/2.286, allocations: 0.7515 MB / 1.642 GB, free: 25.12 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.004355/2.29, allocations: 0.9536 MB / 1.643 GB, free: 25.12 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/2.304, allocations: 4.763 MB / 1.647 GB, free: 24.86 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/2.304, allocations: 1.188 kB / 1.647 GB, free: 24.86 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.667e-06/2.304, allocations: 0 / 1.647 GB, free: 24.86 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001228/2.304, allocations: 1.188 kB / 1.647 GB, free: 24.86 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.008377/2.312, allocations: 2.713 MB / 1.65 GB, free: 23.48 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/2.312, allocations: 9.562 kB / 1.65 GB, free: 23.48 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/2.318, allocations: 0.7304 MB / 1.651 GB, free: 23.34 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/2.329, allocations: 5.501 MB / 1.656 GB, free: 22.81 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/2.329, allocations: 85.41 kB / 1.656 GB, free: 22.81 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/2.33, allocations: 109.3 kB / 1.656 GB, free: 22.81 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/2.333, allocations: 1.55 MB / 1.658 GB, free: 22.25 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/2.333, allocations: 7 kB / 1.658 GB, free: 22.25 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/2.333, allocations: 49.42 kB / 1.658 GB, free: 22.25 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/2.333, allocations: 46.91 kB / 1.658 GB, free: 22.25 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/2.335, allocations: 0.9719 MB / 1.659 GB, free: 22.25 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.00953/2.345, allocations: 6.31 MB / 1.665 GB, free: 18.67 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/2.346, allocations: 283.7 kB / 1.665 GB, free: 18.64 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/2.346, allocations: 109.4 kB / 1.665 GB, free: 18.63 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/2.346, allocations: 38.08 kB / 1.666 GB, free: 18.63 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/2.346, allocations: 38.88 kB / 1.666 GB, free: 18.59 MB / 1.295 GB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/2.346, allocations: 0.9062 kB / 1.666 GB, free: 18.59 MB / 1.295 GB Notification: Performance of matching and sorting (n=18): time 0.00168/2.348, allocations: 0.4995 MB / 1.666 GB, free: 18.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/2.348, allocations: 54.25 kB / 1.666 GB, free: 18.39 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/2.351, allocations: 1.971 MB / 1.668 GB, free: 18.12 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/2.351, allocations: 38.48 kB / 1.668 GB, free: 18.09 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/2.352, allocations: 1.009 MB / 1.669 GB, free: 17.69 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/2.352, allocations: 87.39 kB / 1.669 GB, free: 17.64 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/2.352, allocations: 283.6 kB / 1.669 GB, free: 17.61 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001256/2.352, allocations: 360.4 kB / 1.67 GB, free: 17.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008603/2.353, allocations: 458.1 kB / 1.67 GB, free: 17.29 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/2.354, allocations: 0.9928 MB / 1.671 GB, free: 16.62 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/2.356, allocations: 1.22 MB / 1.672 GB, free: 16.11 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/2.356, allocations: 9.062 kB / 1.672 GB, free: 16.11 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002949/2.359, allocations: 1.492 MB / 1.674 GB, free: 15.97 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/2.359, allocations: 10.53 kB / 1.674 GB, free: 15.97 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/2.359, allocations: 14.91 kB / 1.674 GB, free: 15.97 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-05/2.359, allocations: 19.94 kB / 1.674 GB, free: 15.97 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/2.36, allocations: 247.1 kB / 1.674 GB, free: 15.97 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/2.36, allocations: 29.72 kB / 1.674 GB, free: 15.97 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/2.362, allocations: 183.3 kB / 1.674 GB, free: 15.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/2.362, allocations: 51.62 kB / 1.674 GB, free: 15.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00179/2.363, allocations: 0.9353 MB / 1.675 GB, free: 15.82 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/2.364, allocations: 0.9824 MB / 1.676 GB, free: 15.16 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001526/2.366, allocations: 1.21 MB / 1.677 GB, free: 14.64 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.315e-06/2.366, allocations: 3.5 kB / 1.677 GB, free: 14.64 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002796/2.369, allocations: 1.475 MB / 1.679 GB, free: 14.49 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/2.369, allocations: 13.53 kB / 1.679 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/2.369, allocations: 15.45 kB / 1.679 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/2.369, allocations: 19.66 kB / 1.679 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/2.37, allocations: 245.3 kB / 1.679 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/2.37, allocations: 30.16 kB / 1.679 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/2.371, allocations: 132.3 kB / 1.679 GB, free: 14.45 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/2.371, allocations: 54.36 kB / 1.679 GB, free: 14.45 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.0003568/2.372, allocations: 245 kB / 1.68 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/2.372, allocations: 183.8 kB / 1.68 GB, free: 14.16 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/2.373, allocations: 146.2 kB / 1.68 GB, free: 14.14 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/2.373, allocations: 5.219 kB / 1.68 GB, free: 14.13 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.373, allocations: 0 / 1.68 GB, free: 14.13 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/2.373, allocations: 219.4 kB / 1.68 GB, free: 14.03 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/2.373, allocations: 4.562 kB / 1.68 GB, free: 14.03 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/2.374, allocations: 44.33 kB / 1.68 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/2.374, allocations: 11.11 kB / 1.68 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000923/2.375, allocations: 347.3 kB / 1.68 GB, free: 13.91 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008333/2.376, allocations: 0.5839 MB / 1.681 GB, free: 13.59 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003162/2.376, allocations: 102 kB / 1.681 GB, free: 13.58 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002333/2.379, allocations: 1.309 MB / 1.682 GB, free: 13.44 MB / 1.295 GB Notification: Performance of Backend: time 2.61e-07/2.379, allocations: 0 / 1.682 GB, free: 13.44 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005917/2.385, allocations: 2.024 MB / 1.684 GB, free: 13.2 MB / 1.295 GB Notification: Performance of SimCode: time 0.00729/2.392, allocations: 4.117 MB / 1.688 GB, free: 11.42 MB / 1.295 GB Notification: Performance of Templates: time 0.07352/2.465, allocations: 43.95 MB / 1.731 GB, free: 12.73 MB / 1.311 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: 13.546507815997757]