Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009962/0.0009962, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009836/0.0009836, allocations: 181 kB / 24.09 MB, free: 420 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.9538/0.9538, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.676/1.676, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.31e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001679/0.001702, allocations: 0.9903 MB / 0.7886 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002705, allocations: 1.034 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.002783, allocations: 0.75 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.002821, allocations: 15.8 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.002921, allocations: 33.48 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.003122, allocations: 71.8 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.003254, allocations: 164.1 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.003383, allocations: 62.2 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.003606, allocations: 111.7 kB / 0.79 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.003676, allocations: 51.75 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.003698, allocations: 13.22 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.003744, allocations: 19.98 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.003765, allocations: 31.91 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.003799, allocations: 48.47 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003951, allocations: 111.5 kB / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.003953, allocations: 1.406 kB / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003954, allocations: 0 / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003959, allocations: 0 / 0.7903 GB, free: 9.402 MB / 0.7448 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.0003892/0.004348, allocations: 476.8 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.004382, allocations: 8.031 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.00449, allocations: 41.62 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004625, allocations: 169.3 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.004644, allocations: 17.38 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.004658, allocations: 12.38 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.004834, allocations: 119.3 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.00484, allocations: 1.844 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.00485, allocations: 4.375 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004855, allocations: 4.375 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.004912, allocations: 41.39 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.005284, allocations: 405.4 kB / 0.7915 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.005397, allocations: 83.16 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.005426, allocations: 28.83 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.005446, allocations: 4 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.005465, allocations: 37.39 kB / 0.7917 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.005466, allocations: 3.031 kB / 0.7917 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001574/0.005624, allocations: 101.5 kB / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.005648, allocations: 55.34 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.00578, allocations: 211.3 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005791, allocations: 29.7 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.005854, allocations: 171.1 kB / 0.7922 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.005879, allocations: 35.69 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.005922, allocations: 44.05 kB / 0.7923 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.006023, allocations: 0.4923 MB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.006047, allocations: 17.2 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.006091, allocations: 58.72 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.006157, allocations: 64.58 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.006159, allocations: 0 / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001106/0.006269, allocations: 110.7 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006281, allocations: 7.938 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006287, allocations: 5.062 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006298, allocations: 0 / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.006383, allocations: 23.92 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.006387, allocations: 5.75 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.006423, allocations: 15.88 kB / 0.7931 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.006431, allocations: 8 kB / 0.7931 GB, free: 6.328 MB / 0.7448 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 7.148e-05/0.006502, allocations: 164 kB / 0.7932 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.006524, allocations: 19.84 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.006549, allocations: 16.77 kB / 0.7933 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006552, allocations: 4.5 kB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006554, allocations: 0.5625 kB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006557, allocations: 1.5 kB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.006676, allocations: 141.1 kB / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006677, allocations: 0 / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.006723, allocations: 19.92 kB / 0.7934 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006724, allocations: 8.469 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.006731, allocations: 4 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006733, allocations: 5.625 kB / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006733, allocations: 0 / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.006948, allocations: 232.4 kB / 0.7937 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.006959, allocations: 7.953 kB / 0.7937 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.006969, allocations: 0.9062 kB / 0.7937 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.007015, allocations: 11.92 kB / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.007061, allocations: 24.44 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.007066, allocations: 4.625 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.007111, allocations: 139.2 kB / 0.7938 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007111, allocations: 0.5312 kB / 0.7938 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001556/0.007266, allocations: 32.7 kB / 0.7939 GB, free: 5.465 MB / 0.7448 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 9.429e-05/0.007361, allocations: 111.3 kB / 0.794 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.007461, allocations: 68.91 kB / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007462, allocations: 0 / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.007502, allocations: 44.47 kB / 0.7941 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.007683, allocations: 18.84 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.00815, allocations: 269.1 kB / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.008189, allocations: 72.42 kB / 0.7944 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.297e-05/0.008242, allocations: 21.69 kB / 0.7944 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.008317, allocations: 87.33 kB / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.008318, allocations: 0 / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.003097/0.01142, allocations: 1.396 MB / 0.7959 GB, free: 3.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.848100787959993]