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.001845/0.001845, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.002041/0.002041, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.332/3.332, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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 3.296e-06/3.296e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.421e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002553/0.002587, allocations: 1.008 MB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004091, allocations: 1.018 MB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.004167, allocations: 4 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.004218, allocations: 11.81 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.004348, allocations: 23.78 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.004612, allocations: 63.88 kB / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004829, allocations: 168.1 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.005005, allocations: 57.42 kB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.005268, allocations: 116.5 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005388, allocations: 55.86 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.005426, allocations: 17.06 kB / 0.88 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.005484, allocations: 20 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.005527, allocations: 39.83 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.005593, allocations: 52.91 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.005927, allocations: 219.3 kB / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.005934, allocations: 4 kB / 0.8803 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/0.005935, allocations: 1.094 kB / 0.8803 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.005941, allocations: 0 / 0.8803 GB, free: 3.773 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.0007883/0.006729, allocations: 480.6 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.006774, allocations: 12.02 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.006958, allocations: 33.5 kB / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.007381, allocations: 193.3 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.007414, allocations: 20.36 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.00744, allocations: 12.38 kB / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.007752, allocations: 138.9 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007762, allocations: 192 / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.007781, allocations: 8.375 kB / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.007791, allocations: 8.375 kB / 0.8811 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.00808, allocations: 104.5 kB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.008897, allocations: 477.3 kB / 0.8817 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.009194, allocations: 119.7 kB / 0.8818 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.009331, allocations: 49 kB / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.009353, allocations: 0 / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.009386, allocations: 41.39 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.009387, allocations: 0.5938 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0004815/0.009869, allocations: 162.7 kB / 0.882 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.009916, allocations: 59.41 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.01013, allocations: 239.9 kB / 0.8823 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.01016, allocations: 27.02 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01029, allocations: 179.1 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.01034, allocations: 35.7 kB / 0.8826 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.01043, allocations: 51.89 kB / 0.8826 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002657/0.01069, allocations: 0.5013 MB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.01082, allocations: 35.97 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.01097, allocations: 82.72 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.01123, allocations: 110.7 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01123, allocations: 0 / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003309/0.01156, allocations: 145.4 kB / 0.8835 GB, free: 292 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01158, allocations: 7.938 kB / 0.8835 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01158, allocations: 96 / 0.8835 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.0116, allocations: 8 kB / 0.8835 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.01175, allocations: 19.98 kB / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01176, allocations: 0 / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.01184, allocations: 23.88 kB / 0.8835 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01186, allocations: 4 kB / 0.8835 GB, free: 228 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.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 0.0001612/0.01202, allocations: 176.5 kB / 0.8837 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.01206, allocations: 15.89 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.01212, allocations: 16.78 kB / 0.8837 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01212, allocations: 4 kB / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.01213, allocations: 3.984 kB / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01213, allocations: 0 / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.01241, allocations: 188.5 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01241, allocations: 0 / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.01252, allocations: 19.98 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.01253, allocations: 7.938 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01254, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01254, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01254, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.01293, allocations: 279.7 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.01296, allocations: 15.84 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.01298, allocations: 11.92 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01309, allocations: 8 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.01316, allocations: 19.97 kB / 0.8843 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01318, allocations: 4 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001198/0.0133, allocations: 155.9 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0133, allocations: 0 / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002479/0.01354, allocations: 27.95 kB / 0.8844 GB, free: 15.22 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 0.0001466/0.01369, allocations: 107.2 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.01404, allocations: 116.2 kB / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01404, allocations: 0 / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.01419, allocations: 67.59 kB / 0.8847 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01448, allocations: 20.38 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.01509, allocations: 295 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01521, allocations: 99.42 kB / 0.8851 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.01529, allocations: 17.14 kB / 0.8851 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.01536, allocations: 20.5 kB / 0.8851 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01536, allocations: 0 / 0.8851 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.00495/0.02031, allocations: 1.268 MB / 0.8864 GB, free: 13.23 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","/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: 8.414495463948697]