Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 111.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 194.1 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.1 MB / 0.7177 GB, free: 4.488 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.00196, allocations: 63.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3398, allocations: 151.6 MB / 1.176 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002548/0.3424, allocations: 0.9996 MB / 1.177 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3439, allocations: 0.9791 MB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.344, allocations: 0 / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.344, allocations: 15.81 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3442, allocations: 23.73 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3444, allocations: 59.92 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.3446, allocations: 159.7 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.3448, allocations: 84.06 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.345, allocations: 71.7 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3452, allocations: 71.62 kB / 1.178 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.3452, allocations: 20 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.3452, allocations: 16 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.3453, allocations: 35.91 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.3454, allocations: 75.59 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3457, allocations: 203.1 kB / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3457, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3457, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3457, allocations: 3.938 kB / 1.179 GB, free: 3.055 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008075/0.3465, allocations: 451.1 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3466, allocations: 8.031 kB / 1.179 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3466, allocations: 16.84 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.3472, allocations: 254.5 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.3472, allocations: 16.66 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.3472, allocations: 12.38 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.3476, allocations: 140.4 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3476, allocations: 192 / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3476, allocations: 11.94 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3477, allocations: 4 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.348, allocations: 116.7 kB / 1.18 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.3487, allocations: 476.1 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.349, allocations: 110.6 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3492, allocations: 48.83 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3492, allocations: 0 / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3493, allocations: 30.56 kB / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.3493, allocations: 7.938 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005955/0.3499, allocations: 173.4 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3499, allocations: 51.41 kB / 1.18 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3501, allocations: 156.6 kB / 1.181 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3502, allocations: 29.7 kB / 1.181 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3503, allocations: 123.8 kB / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3503, allocations: 39.73 kB / 1.181 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.3504, allocations: 41.7 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3506, allocations: 322.8 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3507, allocations: 39.97 kB / 1.181 GB, free: 216 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3509, allocations: 67.39 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.3512, allocations: 107.3 kB / 1.181 GB, free: 16 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3512, allocations: 7.938 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003988/0.3516, allocations: 153.5 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3517, allocations: 4 kB / 1.182 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3517, allocations: 0 / 1.182 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3517, allocations: 4 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3519, allocations: 23.97 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3519, allocations: 4 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.352, allocations: 15.88 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.352, allocations: 12.09 kB / 1.182 GB, free: 15.79 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.000133/0.3521, allocations: 133.7 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3522, allocations: 11.95 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.3522, allocations: 20.64 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3522, allocations: 4 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3523, allocations: 0 / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3523, allocations: 0 / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.3525, allocations: 233.5 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3526, allocations: 4 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3527, allocations: 23.91 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3527, allocations: 4 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3527, allocations: 0 / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3527, allocations: 0 / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3527, allocations: 3.938 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.3531, allocations: 231.4 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.3532, allocations: 88.95 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3532, allocations: 4 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3533, allocations: 11.98 kB / 1.182 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.3534, allocations: 19.97 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3534, allocations: 0 / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.823e-05/0.3535, allocations: 107.2 kB / 1.182 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3535, allocations: 4 kB / 1.182 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002541/0.3538, allocations: 23.95 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001614/0.354, allocations: 123.1 kB / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.3544, allocations: 100.6 kB / 1.183 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3544, allocations: 3.938 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3546, allocations: 52.38 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.355, allocations: 20.08 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.3556, allocations: 297.9 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.356, allocations: 0.7123 MB / 1.184 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.3561, allocations: 19.44 kB / 1.184 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3561, allocations: 0 / 1.184 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of Templates: time 0.004005/0.3601, allocations: 1.658 MB / 1.185 GB, free: 11.75 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.603828490013257]