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.000921/0.000921, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009678/0.0009678, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9605/0.9605, allocations: 177.1 MB / 204.5 MB, free: 5.504 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 2.098/2.098, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: 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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.605e-05, allocations: 8.781 kB / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.0014/0.001416, allocations: 0.9994 MB / 0.8804 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002451, allocations: 1.027 MB / 0.8814 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.002504, allocations: 1.125 kB / 0.8814 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.002539, allocations: 15.8 kB / 0.8814 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.002629, allocations: 32.88 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.002806, allocations: 71.75 kB / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.002939, allocations: 168.1 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.00306, allocations: 57.45 kB / 0.8817 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.003246, allocations: 113.4 kB / 0.8819 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.003308, allocations: 51.81 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003327, allocations: 12 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.003365, allocations: 16 kB / 0.8819 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.003389, allocations: 36.39 kB / 0.882 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.003421, allocations: 45.53 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.003555, allocations: 115.5 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003557, allocations: 0 / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003557, allocations: 0 / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003561, allocations: 0 / 0.8821 GB, free: 3.234 MB / 0.8386 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.0003785/0.003939, allocations: 481.7 kB / 0.8826 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.003967, allocations: 11.97 kB / 0.8826 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.83e-05/0.004065, allocations: 36.83 kB / 0.8826 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.004197, allocations: 167.2 kB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.004215, allocations: 16.31 kB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.00423, allocations: 20.36 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.004387, allocations: 113.4 kB / 0.8829 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004395, allocations: 192 / 0.8829 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004407, allocations: 4.375 kB / 0.8829 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.004414, allocations: 4.375 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.00449, allocations: 50.88 kB / 0.883 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.004899, allocations: 399.8 kB / 0.8834 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.005024, allocations: 91.06 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.005055, allocations: 26.28 kB / 0.8835 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.00507, allocations: 4 kB / 0.8835 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.005093, allocations: 33.39 kB / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 9.71e-07/0.005094, allocations: 0 / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0001848/0.005278, allocations: 105.5 kB / 0.8836 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.005311, allocations: 59.34 kB / 0.8837 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.005409, allocations: 214.9 kB / 0.8839 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.005423, allocations: 33.7 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.005488, allocations: 167.1 kB / 0.8841 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.005516, allocations: 35.72 kB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.005561, allocations: 43.3 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.005685, allocations: 0.4962 MB / 0.8846 GB, free: 496 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.005708, allocations: 11.98 kB / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.005758, allocations: 50.73 kB / 0.8847 GB, free: 416 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.311e-05/0.005831, allocations: 74.66 kB / 0.8848 GB, free: 324 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.005833, allocations: 0 / 0.8848 GB, free: 324 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001171/0.00595, allocations: 105.4 kB / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005962, allocations: 7.938 kB / 0.8849 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.005967, allocations: 0 / 0.8849 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.005977, allocations: 4 kB / 0.8849 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.006067, allocations: 23.98 kB / 0.8849 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.006071, allocations: 4.094 kB / 0.8849 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.006111, allocations: 23.88 kB / 0.8849 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.006118, allocations: 7.938 kB / 0.8849 GB, free: 140 kB / 0.8386 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.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.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 9.532e-05/0.006213, allocations: 166.5 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.00624, allocations: 15.89 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.006268, allocations: 12.78 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006271, allocations: 4 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.006273, allocations: 0 / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006277, allocations: 3.984 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.006402, allocations: 141.1 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006403, allocations: 0 / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.006447, allocations: 19.92 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006449, allocations: 4 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.006457, allocations: 7.922 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006458, allocations: 3.938 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006459, allocations: 0 / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.006593, allocations: 236.3 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.006605, allocations: 11.91 kB / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.006617, allocations: 4 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.006661, allocations: 11.94 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.006713, allocations: 15.97 kB / 0.8856 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.00672, allocations: 11.98 kB / 0.8856 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.006768, allocations: 140.7 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006768, allocations: 0 / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001615/0.006929, allocations: 31.89 kB / 0.8857 GB, free: 15.26 MB / 0.8542 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 7.364e-05/0.007003, allocations: 103.2 kB / 0.8858 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007115, allocations: 75.09 kB / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.007116, allocations: 0 / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.007158, allocations: 39.66 kB / 0.8859 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.007357, allocations: 26.2 kB / 0.886 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.007826, allocations: 262.9 kB / 0.8862 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.007865, allocations: 67.97 kB / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.569e-05/0.007921, allocations: 25.12 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.007997, allocations: 94.19 kB / 0.8864 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.007998, allocations: 0 / 0.8864 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.003615/0.01161, allocations: 1.4 MB / 0.8878 GB, free: 13.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.369825643952936]