Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002449/0.002449, allocations: 193.8 kB / 16.14 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.996/2.996, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.791, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00299/0.7941, allocations: 1.058 MB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.7957, allocations: 0.9674 MB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.7958, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.216e-05/0.7959, allocations: 7.922 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.796, allocations: 11.86 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.7963, allocations: 59.95 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.7965, allocations: 143.6 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.7967, allocations: 84.17 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.7969, allocations: 63.72 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.797, allocations: 63.67 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.7971, allocations: 12 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.7971, allocations: 8 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.7971, allocations: 27.84 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.7972, allocations: 55.67 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.7975, allocations: 205.3 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7975, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.407e-06/0.7975, allocations: 0 / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7975, allocations: 3.938 kB / 1.019 GB, free: 44 kB / 0.7637 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.000827/0.7984, allocations: 447.2 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7984, allocations: 8.031 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.7985, allocations: 16.75 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.799, allocations: 260.1 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.799, allocations: 12.66 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.7991, allocations: 20.36 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.7994, allocations: 140.4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7994, allocations: 192 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.7995, allocations: 11.94 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7995, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.7999, allocations: 120.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008495/0.8007, allocations: 468.1 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.801, allocations: 106.5 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.8012, allocations: 48.89 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.8012, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.8013, allocations: 42.56 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.8013, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005786/0.8019, allocations: 173.6 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.8019, allocations: 59.34 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.8021, allocations: 153.3 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.8021, allocations: 25.7 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.8022, allocations: 123.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.8023, allocations: 31.55 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.8024, allocations: 41.69 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8026, allocations: 326.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.8027, allocations: 35.97 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.8029, allocations: 75.34 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.8032, allocations: 103.3 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8032, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003822/0.8036, allocations: 153.4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8036, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8037, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.8037, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.8039, allocations: 23.97 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.8039, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.804, allocations: 31.86 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.804, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 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.0001807/0.8042, allocations: 135.6 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.8043, allocations: 7.906 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.8043, allocations: 16.72 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8043, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.8044, allocations: 3.984 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8044, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.8047, allocations: 229.5 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8047, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.8049, allocations: 23.97 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8049, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.8049, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8049, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8049, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.8054, allocations: 235.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.8055, allocations: 88.95 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.8055, allocations: 8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.8056, allocations: 7.984 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.8057, allocations: 19.97 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.8057, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.812e-05/0.8058, allocations: 111.2 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8059, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002657/0.8061, allocations: 27.91 kB / 1.023 GB, free: 11.79 MB / 0.7794 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.0001757/0.8063, allocations: 113.8 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003974/0.8067, allocations: 107.8 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8067, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.8069, allocations: 60.64 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.8073, allocations: 12 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.808, allocations: 320.7 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.8084, allocations: 0.7161 MB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000104/0.8086, allocations: 16.64 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.8086, allocations: 19.44 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.8086, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.004764/0.8134, allocations: 1.077 MB / 1.026 GB, free: 9.344 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches