Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.001695/0.001695, 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.002183/0.002183, 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 1.114/1.114, 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.22/2.22, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.854e-05, allocations: 5.125 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001687/0.001706, allocations: 1.002 MB / 0.8804 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002809, allocations: 1.024 MB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.002877, allocations: 4 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.002916, allocations: 19.73 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.003009, allocations: 32.73 kB / 0.8815 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003202, allocations: 67.81 kB / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.003338, allocations: 173.1 kB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.003467, allocations: 61.42 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.00367, allocations: 112.3 kB / 0.8819 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.003736, allocations: 44.41 kB / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.003758, allocations: 16 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.94e-05/0.003797, allocations: 16.78 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.003821, allocations: 35.84 kB / 0.882 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.003854, allocations: 44.77 kB / 0.882 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.004, allocations: 115.5 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004002, allocations: 0.875 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004002, allocations: 0 / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.004007, allocations: 1.094 kB / 0.8821 GB, free: 3.246 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.0003945/0.004401, allocations: 475.9 kB / 0.8826 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.004432, allocations: 9 kB / 0.8826 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.004536, allocations: 32.84 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004683, allocations: 183.5 kB / 0.8828 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.004703, allocations: 8.375 kB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004717, allocations: 16.38 kB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.004887, allocations: 116.7 kB / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004894, allocations: 192 / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.004905, allocations: 4.375 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004911, allocations: 9.062 kB / 0.8829 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.004975, allocations: 52.88 kB / 0.883 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.005352, allocations: 407.4 kB / 0.8834 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005469, allocations: 83.09 kB / 0.8835 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.005498, allocations: 23.67 kB / 0.8835 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.005513, allocations: 4 kB / 0.8835 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.00553, allocations: 37.39 kB / 0.8835 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.005532, allocations: 0 / 0.8835 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0001575/0.005689, allocations: 98.45 kB / 0.8836 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.00572, allocations: 63.39 kB / 0.8837 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.005817, allocations: 210.9 kB / 0.8839 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.00583, allocations: 33.64 kB / 0.8839 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.005891, allocations: 167.1 kB / 0.8841 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.005914, allocations: 35.72 kB / 0.8841 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.005959, allocations: 47.3 kB / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.006217, allocations: 0.4962 MB / 0.8846 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.006242, allocations: 15.98 kB / 0.8846 GB, free: 492 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.006282, allocations: 46.73 kB / 0.8847 GB, free: 428 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.006348, allocations: 82.64 kB / 0.8848 GB, free: 328 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.00635, allocations: 0 / 0.8848 GB, free: 328 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001072/0.006457, allocations: 97.56 kB / 0.8849 GB, free: 224 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006469, allocations: 11.94 kB / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006473, allocations: 0 / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.00648, allocations: 0 / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.006558, allocations: 27.92 kB / 0.8849 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.006561, allocations: 4.094 kB / 0.8849 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.006598, allocations: 15.89 kB / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.006605, allocations: 4 kB / 0.8849 GB, free: 160 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 8.57e-05/0.00669, allocations: 166.4 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.006715, allocations: 15.89 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.006739, allocations: 16.78 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006741, allocations: 3.938 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006743, allocations: 0 / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.006745, allocations: 0 / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.006866, allocations: 157 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006867, allocations: 4 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.006909, allocations: 15.98 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.00691, allocations: 0 / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.006918, allocations: 4 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.006921, allocations: 7.938 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.006922, allocations: 3.984 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.007056, allocations: 231.8 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.007066, allocations: 11.91 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.007076, allocations: 0 / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.007122, allocations: 15.94 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.007165, allocations: 15.97 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.007169, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.007215, allocations: 148.6 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007215, allocations: 3.938 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001569/0.007372, allocations: 27.89 kB / 0.8857 GB, free: 15.27 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 6.567e-05/0.007438, allocations: 103.2 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.902e-05/0.007537, allocations: 67.64 kB / 0.8859 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007538, allocations: 0 / 0.8859 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.007578, allocations: 39.59 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.007758, allocations: 24.59 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.008182, allocations: 266.9 kB / 0.8862 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.008216, allocations: 67.97 kB / 0.8863 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.008267, allocations: 21.12 kB / 0.8863 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.008337, allocations: 90.19 kB / 0.8864 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.008337, allocations: 3.938 kB / 0.8864 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.002946/0.01128, allocations: 1.409 MB / 0.8878 GB, free: 13.19 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.721749778836966]