Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008428/0.0008428, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008616/0.0008616, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8881/0.8881, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.725/1.725, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.28e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001589/0.001612, allocations: 0.9589 MB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.002549, allocations: 1.007 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.002619, allocations: 4 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.00266, allocations: 15.8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.002759, allocations: 23.8 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.002978, allocations: 75.73 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.003109, allocations: 164.1 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.003249, allocations: 60.72 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.003438, allocations: 111.7 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.003509, allocations: 51.86 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003532, allocations: 23.94 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.003575, allocations: 16 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.003597, allocations: 39.89 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.003634, allocations: 47.84 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.003849, allocations: 231.2 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003852, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003854, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.003858, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 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.0004574/0.004315, allocations: 385.5 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.004354, allocations: 9.344 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.004393, allocations: 50.73 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.004494, allocations: 20.84 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.004765, allocations: 189.4 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.004782, allocations: 16.23 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.004799, allocations: 16.38 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.005011, allocations: 147.7 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005022, allocations: 4.172 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.005034, allocations: 4.375 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005041, allocations: 8.125 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.005226, allocations: 115.9 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.005694, allocations: 419.3 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.005886, allocations: 114.6 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.005963, allocations: 48.81 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.005982, allocations: 11.88 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.006002, allocations: 30.56 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.006003, allocations: 0 / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0003221/0.006325, allocations: 169.6 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.006357, allocations: 59.34 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.006454, allocations: 157.1 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.006468, allocations: 29.69 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.006527, allocations: 128.4 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.00655, allocations: 31.75 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.006598, allocations: 37.7 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.006679, allocations: 326.8 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.00692, allocations: 47.95 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.21e-05/0.007012, allocations: 77.88 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.007168, allocations: 111.7 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.007171, allocations: 3.938 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003339/0.007505, allocations: 165.3 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.00752, allocations: 4 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.007526, allocations: 4 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.007543, allocations: 0 / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.007645, allocations: 35.91 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007651, allocations: 0 / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.007698, allocations: 15.94 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.007707, allocations: 8.094 kB / 1.005 GB, free: 7.473 MB / 0.9636 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 8.061e-05/0.007787, allocations: 129.8 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.007806, allocations: 7.953 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.007831, allocations: 20.77 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.007837, allocations: 4 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.007842, allocations: 3.938 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007844, allocations: 0 / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.008004, allocations: 204.5 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008005, allocations: 0 / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.008059, allocations: 23.98 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.00806, allocations: 0 / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.008068, allocations: 0 / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.008071, allocations: 4 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008072, allocations: 0 / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.008278, allocations: 231.3 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.008289, allocations: 19.83 kB / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.008303, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.008353, allocations: 12 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.008407, allocations: 19.97 kB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.008413, allocations: 4 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.008459, allocations: 109.3 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008459, allocations: 0 / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001678/0.008627, allocations: 27.94 kB / 1.006 GB, free: 6.602 MB / 0.9636 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.0003942/0.009021, allocations: 0.7864 MB / 1.007 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.009223, allocations: 99.88 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009225, allocations: 0 / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.009305, allocations: 56.5 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.009576, allocations: 18.03 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.01095, allocations: 1.737 MB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.01102, allocations: 107.4 kB / 1.009 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.643e-05/0.01108, allocations: 17.09 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.01115, allocations: 52.47 kB / 1.009 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01115, allocations: 0 / 1.009 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.02931, allocations: 3.461 MB / 1.012 GB, free: 364 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.665, allocations: 9.766 kB / 1.012 GB, free: 356 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.681296306662261]