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.0025/0.0025, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.003162/0.003162, allocations: 157.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.683/1.683, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.195/3.195, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8108 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.973e-05/4.169e-05, allocations: 4.266 kB / 0.8108 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.087/1.087, allocations: 306.5 MB / 1.11 GB, free: 52.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.04949/1.137, allocations: 28.03 MB / 1.137 GB, free: 51.89 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005191/1.142, allocations: 104.5 kB / 1.138 GB, free: 51.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.008587/1.15, allocations: 2.271 MB / 1.14 GB, free: 51.72 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/1.163, allocations: 3.3 MB / 1.143 GB, free: 51.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01296/1.176, allocations: 2.926 MB / 1.146 GB, free: 50.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01727/1.193, allocations: 8.187 MB / 1.154 GB, free: 50.03 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/1.196, allocations: 1.425 MB / 1.155 GB, free: 49.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009819/1.206, allocations: 3.41 MB / 1.159 GB, free: 49.39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/1.21, allocations: 1.229 MB / 1.16 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004581/1.211, allocations: 199.8 kB / 1.16 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006857/1.218, allocations: 2.385 MB / 1.162 GB, free: 48.55 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.219, allocations: 0.8039 MB / 1.163 GB, free: 48.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/1.22, allocations: 0.7881 MB / 1.164 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/1.231, allocations: 4.63 MB / 1.168 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/1.231, allocations: 0 / 1.168 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.346e-06/1.231, allocations: 2.688 kB / 1.168 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001395/1.231, allocations: 0 / 1.168 GB, free: 46.46 MB / 0.9948 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.007707/1.239, allocations: 3.102 MB / 1.171 GB, free: 44.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.27e-05/1.239, allocations: 14.84 kB / 1.171 GB, free: 44.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/1.244, allocations: 0.7905 MB / 1.172 GB, free: 44.15 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/1.254, allocations: 5.442 MB / 1.177 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.254, allocations: 93.59 kB / 1.178 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004323/1.255, allocations: 117.1 kB / 1.178 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/1.258, allocations: 1.641 MB / 1.179 GB, free: 40.95 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/1.258, allocations: 6.031 kB / 1.179 GB, free: 40.95 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.258, allocations: 46.25 kB / 1.179 GB, free: 40.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/1.258, allocations: 45.31 kB / 1.179 GB, free: 40.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/1.261, allocations: 0.8098 MB / 1.18 GB, free: 40.65 MB / 0.9948 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.01264/1.273, allocations: 9.237 MB / 1.189 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/1.274, allocations: 277.9 kB / 1.189 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/1.275, allocations: 103.7 kB / 1.19 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/1.275, allocations: 37.91 kB / 1.19 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.275, allocations: 40.42 kB / 1.19 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 3.467e-06/1.275, allocations: 0 / 1.19 GB, free: 33.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.001911/1.277, allocations: 0.4982 MB / 1.19 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.277, allocations: 58.06 kB / 1.19 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005235/1.282, allocations: 2.467 MB / 1.193 GB, free: 32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/1.282, allocations: 35.05 kB / 1.193 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/1.283, allocations: 1.344 MB / 1.194 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.284, allocations: 86.25 kB / 1.194 GB, free: 30.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.284, allocations: 213 kB / 1.194 GB, free: 30.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.284, allocations: 0.5402 MB / 1.195 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/1.285, allocations: 187.9 kB / 1.195 GB, free: 30.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009216/1.286, allocations: 0.925 MB / 1.196 GB, free: 29.19 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.287, allocations: 0.9854 MB / 1.197 GB, free: 28.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/1.287, allocations: 7.344 kB / 1.197 GB, free: 28.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002415/1.289, allocations: 0.9309 MB / 1.198 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.289, allocations: 10.16 kB / 1.198 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/1.289, allocations: 14.5 kB / 1.198 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.75e-05/1.289, allocations: 22.09 kB / 1.198 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/1.29, allocations: 182.8 kB / 1.198 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/1.29, allocations: 33.06 kB / 1.198 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.292, allocations: 116.4 kB / 1.198 GB, free: 27.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.292, allocations: 43.03 kB / 1.198 GB, free: 27.88 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00136/1.293, allocations: 495.5 kB / 1.199 GB, free: 27.58 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/1.294, allocations: 0.9179 MB / 1.199 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/1.295, allocations: 0.9656 MB / 1.2 GB, free: 25.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.529e-05/1.295, allocations: 4.969 kB / 1.2 GB, free: 25.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002165/1.298, allocations: 0.92 MB / 1.201 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.298, allocations: 12 kB / 1.201 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/1.298, allocations: 12.16 kB / 1.201 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/1.298, allocations: 20.72 kB / 1.201 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/1.298, allocations: 176.7 kB / 1.202 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/1.298, allocations: 25.16 kB / 1.202 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.3, allocations: 103.1 kB / 1.202 GB, free: 25.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/1.3, allocations: 43.22 kB / 1.202 GB, free: 25.28 MB / 0.9948 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.0003366/1.3, allocations: 325.5 kB / 1.202 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/1.301, allocations: 181.6 kB / 1.202 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/1.301, allocations: 155.7 kB / 1.202 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.301, allocations: 3.328 kB / 1.202 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/1.301, allocations: 11.55 kB / 1.202 GB, free: 24.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.301, allocations: 0 / 1.202 GB, free: 24.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/1.307, allocations: 2.424 MB / 1.205 GB, free: 23.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.307, allocations: 7.344 kB / 1.205 GB, free: 23.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/1.307, allocations: 43.86 kB / 1.205 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.307, allocations: 3.406 kB / 1.205 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/1.307, allocations: 11.66 kB / 1.205 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/1.307, allocations: 10.14 kB / 1.205 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.307, allocations: 9.844 kB / 1.205 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.308, allocations: 0.599 MB / 1.205 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008359/1.309, allocations: 212.7 kB / 1.206 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/1.31, allocations: 8.531 kB / 1.206 GB, free: 22.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/1.311, allocations: 30.91 kB / 1.206 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/1.311, allocations: 24.94 kB / 1.206 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/1.311, allocations: 12.89 kB / 1.206 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002596/1.313, allocations: 1.284 MB / 1.207 GB, free: 22.19 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/1.313, allocations: 0 / 1.207 GB, free: 22.19 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0037/1.317, allocations: 0.7438 MB / 1.208 GB, free: 22.04 MB / 0.9948 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.0006408/1.318, allocations: 266 kB / 1.208 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.32, allocations: 0.8725 MB / 1.209 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.32, allocations: 3.531 kB / 1.209 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/1.32, allocations: 130.9 kB / 1.209 GB, free: 21.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/1.325, allocations: 0.9446 MB / 1.21 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/1.331, allocations: 2.806 MB / 1.213 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.333, allocations: 0.8834 MB / 1.213 GB, free: 19.32 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002045/1.335, allocations: 364.8 kB / 1.214 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/1.335, allocations: 113.3 kB / 1.214 GB, free: 19.19 MB / 0.9948 GB Notification: Performance of SimCode: time 3.136e-06/1.335, allocations: 3.125 kB / 1.214 GB, free: 19.19 MB / 0.9948 GB Notification: Performance of Templates: time 0.05706/1.392, allocations: 30.88 MB / 1.244 GB, free: 6.105 MB / 0.9948 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 240] 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: 11.124635603046045]