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.001793/0.001793, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002334/0.002334, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.163/3.163, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.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.002105/0.002105, allocations: 69.14 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3278, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00239/0.3302, allocations: 1.027 MB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3315, allocations: 1.022 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.3316, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.3317, allocations: 11.81 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3318, allocations: 31.72 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.332, allocations: 71.88 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.3322, allocations: 164 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3324, allocations: 68.55 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3326, allocations: 75.7 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3327, allocations: 75.62 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.3328, allocations: 16 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.3328, allocations: 20 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.3329, allocations: 35.91 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.3329, allocations: 83.58 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3332, allocations: 211.1 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3332, allocations: 4 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3332, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3332, allocations: 0 / 1.33 GB, free: 14.52 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.0006643/0.3339, allocations: 377.6 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3339, allocations: 12.03 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.3341, allocations: 24.83 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.3345, allocations: 202.1 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3345, allocations: 8.375 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3345, allocations: 16.38 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.3349, allocations: 150 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3349, allocations: 192 / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3349, allocations: 7.938 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3349, allocations: 4 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.3353, allocations: 119.9 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.336, allocations: 439.4 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.3363, allocations: 118.5 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3364, allocations: 56.77 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3365, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3365, allocations: 42.55 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3365, allocations: 0 / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005501/0.337, allocations: 165.5 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3371, allocations: 59.34 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3372, allocations: 156.2 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3373, allocations: 33.7 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3374, allocations: 124.4 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3374, allocations: 27.75 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.3375, allocations: 37.7 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3376, allocations: 326.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3378, allocations: 47.95 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3379, allocations: 69.59 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.3382, allocations: 119.2 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3382, allocations: 0 / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003648/0.3386, allocations: 153.5 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3386, allocations: 4 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3386, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3386, allocations: 8.094 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3388, allocations: 27.91 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3388, allocations: 4 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.3389, allocations: 15.94 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3389, allocations: 4 kB / 1.333 GB, free: 11.41 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.000115/0.339, allocations: 134.3 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.3391, allocations: 11.89 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.3391, allocations: 20.72 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3391, allocations: 3.984 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3391, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3391, allocations: 3.938 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3394, allocations: 220.5 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3394, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3395, allocations: 15.98 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3395, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3395, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3395, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3395, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.3399, allocations: 231.9 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.3399, allocations: 11.91 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.34, allocations: 15.86 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3401, allocations: 8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.3401, allocations: 19.97 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3401, allocations: 15.94 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.075e-05/0.3402, allocations: 112.9 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3402, allocations: 0 / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002606/0.3405, allocations: 27.94 kB / 1.334 GB, free: 10.49 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.0001172/0.3406, allocations: 101 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.341, allocations: 107.9 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.341, allocations: 4 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3411, allocations: 59.89 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3415, allocations: 8 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.3421, allocations: 314.8 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3424, allocations: 0.7123 MB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.3425, allocations: 15.44 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3425, allocations: 0 / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of Templates: time 0.003575/0.3461, allocations: 1.71 MB / 1.337 GB, free: 7.41 MB / 1.029 GB " [Timeout remaining time 300] 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: 10.982436435006093]