Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.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.001912/0.001912, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.002116/0.002116, allocations: 157.7 kB / 23.01 MB, free: 4.945 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.847/2.847, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [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.00243/0.00243, allocations: 66.12 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9232/0.9257, allocations: 176.1 MB / 1.154 GB, free: 33.39 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001947/0.9276, allocations: 0.9741 MB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.9285, allocations: 1.014 MB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.9286, allocations: 4 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.9287, allocations: 15.09 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.672e-05/0.9288, allocations: 28.75 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.929, allocations: 65.06 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.9291, allocations: 161.3 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.9293, allocations: 66.14 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.9294, allocations: 69.38 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.9295, allocations: 72.64 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.9296, allocations: 17.03 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.9296, allocations: 23.84 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.9297, allocations: 37.33 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.9297, allocations: 58.81 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.9299, allocations: 216.9 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.9299, allocations: 0 / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9299, allocations: 2.969 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.9299, allocations: 0 / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005434/0.9304, allocations: 376.7 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.9305, allocations: 8.688 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.9306, allocations: 34.47 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.931, allocations: 192.5 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.931, allocations: 10.03 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.931, allocations: 13.22 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.9313, allocations: 159.2 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9313, allocations: 192 / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.9314, allocations: 7.938 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9314, allocations: 9.969 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.9317, allocations: 116.7 kB / 1.158 GB, free: 30.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.9322, allocations: 375.6 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.9324, allocations: 114.6 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.9326, allocations: 54.06 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.9326, allocations: 6.531 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.9326, allocations: 30.56 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.9326, allocations: 0 / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.000508/0.9331, allocations: 177.8 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.9331, allocations: 57.3 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.9332, allocations: 151.3 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.9332, allocations: 29.7 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.9333, allocations: 127 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.9333, allocations: 32.08 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.9333, allocations: 46.48 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.9334, allocations: 323.6 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.9335, allocations: 39.52 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.9337, allocations: 71.83 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.9339, allocations: 121.8 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9339, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003296/0.9343, allocations: 148.5 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.9343, allocations: 9.844 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9343, allocations: 4.094 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9343, allocations: 2.844 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.9345, allocations: 27.72 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.9345, allocations: 2.906 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.9346, allocations: 20.7 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.9346, allocations: 5.938 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 7.792e-05/0.9347, allocations: 135.3 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.9347, allocations: 13.34 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.9347, allocations: 19.31 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9347, allocations: 2.531 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9347, allocations: 3.938 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9347, allocations: 3.328 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.9349, allocations: 166.1 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9349, allocations: 0 / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.935, allocations: 22.64 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.935, allocations: 0 / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.935, allocations: 0 / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.935, allocations: 2.688 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.935, allocations: 8 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.9353, allocations: 231.8 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.9354, allocations: 16.81 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.9354, allocations: 7.422 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.9355, allocations: 5.781 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.9356, allocations: 24.03 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.9356, allocations: 3 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.9356, allocations: 111.1 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9356, allocations: 4 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002547/0.9359, allocations: 27.2 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 8.857e-05/0.936, allocations: 98.69 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.9363, allocations: 110.2 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9363, allocations: 0 / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.9365, allocations: 62.89 kB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.9368, allocations: 16.67 kB / 1.161 GB, free: 28.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.9372, allocations: 279.2 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.9373, allocations: 107.4 kB / 1.161 GB, free: 28.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.47e-05/0.9373, allocations: 17.02 kB / 1.161 GB, free: 28.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.9374, allocations: 25.25 kB / 1.161 GB, free: 28.51 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.9374, allocations: 0 / 1.161 GB, free: 28.51 MB / 1.076 GB Notification: Performance of Templates: time 0.004003/0.9414, allocations: 1.249 MB / 1.162 GB, free: 28.38 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.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: 9.018278194009326]