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.001659/0.001659, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001943/0.001943, allocations: 216.2 kB / 22.99 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.148/3.148, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 177] 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.002158/0.002158, allocations: 69.17 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002897/0.3442, allocations: 0.96 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3458, allocations: 1.011 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3459, allocations: 7.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.169e-05/0.346, allocations: 19.73 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3461, allocations: 23.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3464, allocations: 67.88 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.3467, allocations: 164.1 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3469, allocations: 68.55 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.3472, allocations: 75.66 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3473, allocations: 67.67 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3473, allocations: 16 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.3474, allocations: 20 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.3475, allocations: 39.84 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.3475, allocations: 59.67 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3479, allocations: 215.1 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3479, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3479, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.3479, allocations: 4 kB / 1.329 GB, free: 15.06 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.0007926/0.3487, allocations: 385.6 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3487, allocations: 11.97 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3489, allocations: 24.84 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.3494, allocations: 190.1 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.3494, allocations: 12.38 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.3494, allocations: 12.38 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.3498, allocations: 150 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3498, allocations: 192 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.3499, allocations: 15.94 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3499, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.3502, allocations: 115.9 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.3509, allocations: 384 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3513, allocations: 106.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3514, allocations: 56.75 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3515, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3515, allocations: 34.56 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3515, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005918/0.3521, allocations: 177.4 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3521, allocations: 55.39 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3523, allocations: 164 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3523, allocations: 25.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.3524, allocations: 120.4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.3525, allocations: 27.75 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.3525, allocations: 49.64 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3527, allocations: 326.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3529, allocations: 39.91 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.353, allocations: 83.39 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.3534, allocations: 115.6 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3534, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003946/0.3538, allocations: 153.5 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3538, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3538, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3538, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.354, allocations: 27.97 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.354, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3541, allocations: 19.94 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3541, allocations: 8.094 kB / 1.332 GB, free: 12 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.0001353/0.3542, allocations: 140.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3543, allocations: 7.953 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.3543, allocations: 16.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3543, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.3543, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3543, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3546, allocations: 173.1 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3546, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3547, allocations: 19.98 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3547, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3547, allocations: 7.984 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3547, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3547, allocations: 3.938 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.3552, allocations: 227.4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.3552, allocations: 15.84 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.3552, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3553, allocations: 15.98 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3554, allocations: 19.97 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.3554, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.3555, allocations: 104.8 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3555, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002779/0.3558, allocations: 31.89 kB / 1.333 GB, free: 11.16 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.000144/0.3559, allocations: 107.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.3563, allocations: 115.9 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3563, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3565, allocations: 47.97 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3568, allocations: 20.48 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.3575, allocations: 310.5 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.3577, allocations: 103.4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.3577, allocations: 19.42 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.3577, allocations: 4 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of Templates: time 0.004133/0.3619, allocations: 1.74 MB / 1.335 GB, free: 8.656 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/jenkins1/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.893144041765481]