Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001355/0.001355, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001504/0.001504, allocations: 173 kB / 23.49 MB, free: 1.059 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.949/0.949, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.068/2.068, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.988e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001583/0.001603, allocations: 1.013 MB / 0.8792 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.002659, allocations: 1.027 MB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.00273, allocations: 0.7188 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.002772, allocations: 19.73 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.002868, allocations: 24.59 kB / 0.8803 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.003088, allocations: 72.55 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003229, allocations: 168.8 kB / 0.8805 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.003366, allocations: 60.73 kB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.003557, allocations: 100.4 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.003629, allocations: 56.89 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.003654, allocations: 16 kB / 0.8807 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.003706, allocations: 27.97 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.00373, allocations: 32.58 kB / 0.8808 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.00377, allocations: 51.77 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.003931, allocations: 128.2 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.003933, allocations: 0 / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003934, allocations: 3.938 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003938, allocations: 0 / 0.8809 GB, free: 3.832 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.0004419/0.00438, allocations: 471.9 kB / 0.8814 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004416, allocations: 8.031 kB / 0.8814 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.00454, allocations: 36.83 kB / 0.8814 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.004781, allocations: 198 kB / 0.8816 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.004803, allocations: 8.375 kB / 0.8816 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.004819, allocations: 16.38 kB / 0.8816 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.005011, allocations: 133.1 kB / 0.8818 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005018, allocations: 192 / 0.8818 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.005031, allocations: 4.375 kB / 0.8818 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.00504, allocations: 5.344 kB / 0.8818 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.005136, allocations: 53.08 kB / 0.8818 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.005583, allocations: 432.3 kB / 0.8822 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.005736, allocations: 92.23 kB / 0.8823 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.005779, allocations: 27.67 kB / 0.8824 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.005795, allocations: 7.938 kB / 0.8824 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.005815, allocations: 38.48 kB / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.005817, allocations: 0 / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002103/0.006027, allocations: 110.3 kB / 0.8825 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.006054, allocations: 55.39 kB / 0.8826 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.00616, allocations: 217.5 kB / 0.8828 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006172, allocations: 25.7 kB / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.006233, allocations: 171.1 kB / 0.883 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.006257, allocations: 35.69 kB / 0.883 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.006304, allocations: 47.86 kB / 0.883 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.006407, allocations: 0.4884 MB / 0.8835 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.006443, allocations: 21.67 kB / 0.8835 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.006497, allocations: 58.67 kB / 0.8836 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/0.006587, allocations: 75.86 kB / 0.8837 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00659, allocations: 0 / 0.8837 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001335/0.006723, allocations: 115 kB / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.006736, allocations: 6.344 kB / 0.8838 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006741, allocations: 1.594 kB / 0.8838 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.006754, allocations: 4 kB / 0.8838 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.006843, allocations: 23.92 kB / 0.8838 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006848, allocations: 0 / 0.8838 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.006889, allocations: 22.77 kB / 0.8838 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.0069, allocations: 11.98 kB / 0.8838 GB, free: 0.6445 MB / 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 7.558e-05/0.006975, allocations: 160.6 kB / 0.884 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.007, allocations: 19.89 kB / 0.884 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.007027, allocations: 16.78 kB / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.007029, allocations: 0 / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007033, allocations: 5.641 kB / 0.884 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007036, allocations: 0 / 0.884 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.007162, allocations: 164.5 kB / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.007163, allocations: 0 / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.007209, allocations: 28.55 kB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007211, allocations: 3.938 kB / 0.8842 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.007221, allocations: 8.078 kB / 0.8842 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007222, allocations: 3.938 kB / 0.8842 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007222, allocations: 0 / 0.8842 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.007377, allocations: 235.9 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.007388, allocations: 15.84 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.007402, allocations: 7.938 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.007445, allocations: 4 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.007499, allocations: 15.97 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.007506, allocations: 7.938 kB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.007561, allocations: 153 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.007561, allocations: 4 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001614/0.007723, allocations: 27.89 kB / 0.8847 GB, free: 15.72 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.281e-05/0.007796, allocations: 102.5 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.007924, allocations: 76.17 kB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.007926, allocations: 4 kB / 0.8849 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.007975, allocations: 47.77 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.008167, allocations: 24.11 kB / 0.8849 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.008697, allocations: 263 kB / 0.8852 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.008736, allocations: 67.84 kB / 0.8852 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.078e-05/0.008787, allocations: 17.14 kB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.008831, allocations: 28.48 kB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.008832, allocations: 0 / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.002971/0.0118, allocations: 1.27 MB / 0.8865 GB, free: 13.84 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.347836937988177]