Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001928/0.001928, allocations: 109.5 kB / 16.46 MB, free: 6.508 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.002333/0.002333, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.589/1.589, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.465/3.465, allocations: 0.4899 GB / 0.7915 GB, free: 33.5 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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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.00209/0.00209, allocations: 75.36 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4396, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002738/0.4424, allocations: 1.026 MB / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.4441, allocations: 1.018 MB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4442, allocations: 4 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.108e-05/0.4443, allocations: 19.73 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.4444, allocations: 19.8 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.4447, allocations: 67.88 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.4449, allocations: 164 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.4451, allocations: 72.19 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.4454, allocations: 71.72 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4455, allocations: 79.61 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.4455, allocations: 16 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.4456, allocations: 20 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.4456, allocations: 35.91 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.4457, allocations: 75.55 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.4461, allocations: 219 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4461, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4461, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.4461, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 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.0007629/0.4468, allocations: 462.7 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4469, allocations: 19.92 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4471, allocations: 24.83 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.4475, allocations: 249.6 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.4475, allocations: 12.38 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.4476, allocations: 20.31 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.448, allocations: 150 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.448, allocations: 192 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.448, allocations: 15.88 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.448, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.4484, allocations: 111.9 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.4492, allocations: 484.2 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4495, allocations: 110.6 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.4497, allocations: 56.75 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.4497, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4497, allocations: 38.56 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4497, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006104/0.4504, allocations: 173.4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4504, allocations: 51.41 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4506, allocations: 168.8 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.4506, allocations: 25.7 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.4507, allocations: 120.4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.4507, allocations: 27.75 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.4508, allocations: 41.69 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.451, allocations: 326.8 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.4511, allocations: 43.97 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4513, allocations: 75.39 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.4517, allocations: 107.3 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4517, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003978/0.4521, allocations: 157.4 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4521, allocations: 4 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4521, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.4521, allocations: 7.984 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4523, allocations: 20.08 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4523, allocations: 8 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4524, allocations: 31.86 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4524, allocations: 4 kB / 1.327 GB, free: 12.61 MB / 1.029 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 0.0001436/0.4526, allocations: 135.8 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.4526, allocations: 7.953 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.4527, allocations: 20.7 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4527, allocations: 3.938 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4527, allocations: 4 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4527, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.453, allocations: 241.5 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.453, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.4532, allocations: 15.98 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.4532, allocations: 4 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.4532, allocations: 7.984 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4532, allocations: 3.938 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4532, allocations: 3.938 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.4536, allocations: 227.4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.4537, allocations: 92.95 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.4537, allocations: 4 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4538, allocations: 11.98 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.4539, allocations: 19.92 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4539, allocations: 4 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001028/0.4541, allocations: 115.2 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4541, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002739/0.4543, allocations: 31.89 kB / 1.328 GB, free: 11.58 MB / 1.029 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 0.0001868/0.4545, allocations: 103.2 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.4549, allocations: 116.7 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4549, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4551, allocations: 52.17 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.4555, allocations: 16.22 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.4562, allocations: 280.5 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4566, allocations: 0.7162 MB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.4567, allocations: 25.02 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.4567, allocations: 15.44 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4567, allocations: 0 / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of Templates: time 0.004707/0.4614, allocations: 1.266 MB / 1.331 GB, free: 8.988 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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: 10.037677073851228]