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.001066/0.001066, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001011/0.001011, allocations: 161 kB / 23.82 MB, free: 0.75 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.017/1.017, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.847/1.847, allocations: 359 MB / 0.6052 GB, free: 11.04 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 3.346e-06/3.346e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.534e-05, allocations: 2.859 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002753/0.002788, allocations: 1.016 MB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004218, allocations: 1.04 MB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.004323, allocations: 0 / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/0.004382, allocations: 15.8 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.004519, allocations: 24.69 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.004821, allocations: 68.86 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.00501, allocations: 164.1 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.005193, allocations: 61.33 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.005471, allocations: 111.7 kB / 0.7896 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005588, allocations: 57.14 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.005624, allocations: 16 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.005687, allocations: 24 kB / 0.7897 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.005723, allocations: 38.86 kB / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.005774, allocations: 39.86 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.005977, allocations: 135.4 kB / 0.7899 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.005982, allocations: 4 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005984, allocations: 0 / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.005989, allocations: 0 / 0.7899 GB, free: 9.691 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.0004918/0.006481, allocations: 468 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.00652, allocations: 9.281 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.006661, allocations: 40.8 kB / 0.7904 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.006922, allocations: 188.9 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.006947, allocations: 8.375 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.006966, allocations: 17 kB / 0.7906 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.00717, allocations: 127.4 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.007178, allocations: 4.812 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.007191, allocations: 4.375 kB / 0.7907 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.007199, allocations: 4.875 kB / 0.7907 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.007295, allocations: 61.5 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.007794, allocations: 432.7 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.007954, allocations: 91.11 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.007999, allocations: 29.48 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.008022, allocations: 4 kB / 0.7913 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.008043, allocations: 33.39 kB / 0.7913 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.008044, allocations: 0 / 0.7913 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002326/0.008277, allocations: 115 kB / 0.7914 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.008306, allocations: 51.41 kB / 0.7915 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.00843, allocations: 211.7 kB / 0.7917 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.008446, allocations: 29.7 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.008528, allocations: 176.9 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.008557, allocations: 31.75 kB / 0.7919 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.008609, allocations: 39.36 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.008736, allocations: 0.4962 MB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.008779, allocations: 15.98 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.008838, allocations: 59.89 kB / 0.7925 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.00893, allocations: 82.98 kB / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.008932, allocations: 0 / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000146/0.009078, allocations: 118.7 kB / 0.7927 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.009091, allocations: 4.531 kB / 0.7927 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.009096, allocations: 3.938 kB / 0.7927 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.009113, allocations: 5.594 kB / 0.7927 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.009215, allocations: 19.98 kB / 0.7927 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.009222, allocations: 3.984 kB / 0.7927 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.009266, allocations: 13.09 kB / 0.7927 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.009275, allocations: 4 kB / 0.7927 GB, free: 6.52 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.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 9.678e-05/0.009372, allocations: 169.1 kB / 0.7929 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.009399, allocations: 20.56 kB / 0.7929 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.009431, allocations: 16.77 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.009434, allocations: 4.844 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.009438, allocations: 0 / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.00944, allocations: 0 / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.009587, allocations: 166.4 kB / 0.7931 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009589, allocations: 3.938 kB / 0.7931 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.00964, allocations: 15.98 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.009643, allocations: 7.938 kB / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.009651, allocations: 0.7812 kB / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009652, allocations: 0 / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.009655, allocations: 4 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.009824, allocations: 246.1 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.009838, allocations: 15.89 kB / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.009855, allocations: 7.922 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.009901, allocations: 4 kB / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.009961, allocations: 19.97 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.009967, allocations: 5.969 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.01003, allocations: 148.8 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01003, allocations: 0 / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001759/0.0102, allocations: 31.83 kB / 0.7936 GB, free: 5.598 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 0.0001238/0.01033, allocations: 107.6 kB / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01048, allocations: 67.59 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01048, allocations: 1.25 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.01053, allocations: 47.59 kB / 0.7938 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01075, allocations: 26.28 kB / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.01135, allocations: 268.1 kB / 0.7941 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.0114, allocations: 72.64 kB / 0.7942 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.863e-05/0.01145, allocations: 23.28 kB / 0.7942 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.0115, allocations: 20.5 kB / 0.7942 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/0.0115, allocations: 0 / 0.7942 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.003399/0.0149, allocations: 1.266 MB / 0.7954 GB, free: 3.727 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: 5.229438474867493]