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.001542/0.001542, allocations: 112.3 kB / 17.13 MB, free: 6.008 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.001681/0.001681, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.942/2.942, allocations: 0.49 GB / 0.7923 GB, free: 1.258 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.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.002072/0.002072, allocations: 71.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8808, allocations: 176.1 MB / 1.322 GB, free: 25.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002126/0.8829, allocations: 1.019 MB / 1.323 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.8839, allocations: 1.026 MB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.884, allocations: 0 / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.509e-05/0.8841, allocations: 17.55 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.8842, allocations: 29.69 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.8844, allocations: 58.89 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.8845, allocations: 168.4 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.8847, allocations: 65.66 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.8849, allocations: 81.72 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.885, allocations: 76.94 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.885, allocations: 16.69 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.885, allocations: 19.38 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.8851, allocations: 39.83 kB / 1.325 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.8851, allocations: 71.84 kB / 1.325 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.8853, allocations: 220.4 kB / 1.325 GB, free: 23.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8853, allocations: 0 / 1.325 GB, free: 23.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8853, allocations: 2.531 kB / 1.325 GB, free: 23.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.8853, allocations: 0 / 1.325 GB, free: 23.54 MB / 1.061 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.0005655/0.8859, allocations: 458.5 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.8859, allocations: 13.83 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.8861, allocations: 27.05 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.8865, allocations: 260.4 kB / 1.326 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.8865, allocations: 10.34 kB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.8865, allocations: 13.16 kB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.8868, allocations: 156.4 kB / 1.326 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8868, allocations: 192 / 1.326 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.8869, allocations: 10.84 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8869, allocations: 2.969 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.8872, allocations: 117.8 kB / 1.326 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.8877, allocations: 479.8 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.888, allocations: 120.4 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.8881, allocations: 49.77 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.8882, allocations: 2.938 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.8882, allocations: 30.56 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.8882, allocations: 0 / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0005553/0.8887, allocations: 177.5 kB / 1.327 GB, free: 22.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.8888, allocations: 53.19 kB / 1.327 GB, free: 22.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.8889, allocations: 166.1 kB / 1.327 GB, free: 21.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.8889, allocations: 26.23 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.889, allocations: 115.6 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.889, allocations: 35.47 kB / 1.327 GB, free: 21.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.889, allocations: 39.3 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.8891, allocations: 328.8 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.8893, allocations: 45.09 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.8894, allocations: 72.84 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.8897, allocations: 119.9 kB / 1.328 GB, free: 21.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8897, allocations: 0 / 1.328 GB, free: 21.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004009/0.8901, allocations: 149.9 kB / 1.328 GB, free: 21.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8902, allocations: 17.5 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8902, allocations: 0.75 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.8902, allocations: 2.281 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.8904, allocations: 28.38 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8904, allocations: 1.812 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.8905, allocations: 14.36 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.8905, allocations: 3.469 kB / 1.328 GB, free: 21.25 MB / 1.061 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 9.05e-05/0.8906, allocations: 146.1 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.8906, allocations: 9.578 kB / 1.328 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.8907, allocations: 15.12 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8907, allocations: 1.594 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8907, allocations: 4 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8907, allocations: 0.9062 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.8909, allocations: 237.6 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8909, allocations: 4.188 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.891, allocations: 17.95 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.891, allocations: 0 / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.891, allocations: 8.906 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.891, allocations: 4.609 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.891, allocations: 0 / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.8914, allocations: 231.8 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.8914, allocations: 92.3 kB / 1.329 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.8914, allocations: 1.219 kB / 1.329 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.8916, allocations: 16.62 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.8916, allocations: 16.75 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.8916, allocations: 3.281 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.8917, allocations: 112.7 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8917, allocations: 1.062 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002602/0.892, allocations: 30.3 kB / 1.329 GB, free: 20.47 MB / 1.061 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.0001159/0.8921, allocations: 112.8 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.8925, allocations: 106.7 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8925, allocations: 0 / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.8927, allocations: 54.36 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.893, allocations: 17.42 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.8935, allocations: 312 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.8937, allocations: 0.7128 MB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.8938, allocations: 16.88 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.8938, allocations: 5.062 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of Templates: time 0.004147/0.8979, allocations: 1.703 MB / 1.332 GB, free: 19.21 MB / 1.061 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 -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: 11.274820254009683]