Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.002551/0.002551, allocations: 79.75 kB / 20.24 MB, free: 4.168 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.002969/0.002969, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.654/1.654, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.016/3.016, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.896e-05/4.2e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003499/0.003541, allocations: 1.378 MB / 0.8122 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.005536, allocations: 1.141 MB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.005761, allocations: 4 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.005889, allocations: 35.53 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.006131, allocations: 48.31 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.006582, allocations: 121.6 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.007059, allocations: 348.6 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.007426, allocations: 150.5 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.007872, allocations: 209 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.008062, allocations: 107.7 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.00814, allocations: 36 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-05/0.008226, allocations: 44 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.008312, allocations: 85.27 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.008438, allocations: 99.73 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.009078, allocations: 0.4982 MB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009082, allocations: 0 / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.009083, allocations: 0 / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.009095, allocations: 1.656 kB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001082/0.01018, allocations: 0.6286 MB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.01022, allocations: 8.031 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.01047, allocations: 77.19 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.011, allocations: 263.7 kB / 0.816 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.01104, allocations: 21.38 kB / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.01109, allocations: 36.38 kB / 0.816 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.01166, allocations: 276.2 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01167, allocations: 192 / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.01171, allocations: 17.75 kB / 0.8163 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.01172, allocations: 8.375 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.01224, allocations: 227.8 kB / 0.8165 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.01368, allocations: 0.8733 MB / 0.8174 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.0142, allocations: 239 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.01442, allocations: 108.7 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.01446, allocations: 5.141 kB / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.0145, allocations: 41.62 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 5.4e-06/0.0145, allocations: 4.484 kB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0007415/0.01525, allocations: 294.9 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.0153, allocations: 55.41 kB / 0.8181 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.01561, allocations: 318.6 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01564, allocations: 29.7 kB / 0.8184 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.01582, allocations: 233.9 kB / 0.8186 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.01591, allocations: 91.27 kB / 0.8187 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.01628, allocations: 95.58 kB / 0.8188 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002974/0.01658, allocations: 0.5196 MB / 0.8193 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.01677, allocations: 72.53 kB / 0.8194 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.01704, allocations: 163.1 kB / 0.8196 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.01747, allocations: 237 kB / 0.8198 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.01747, allocations: 0 / 0.8198 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005575/0.01803, allocations: 267.1 kB / 0.82 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.01805, allocations: 14.2 kB / 0.82 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01806, allocations: 0 / 0.82 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.01808, allocations: 4 kB / 0.82 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.01832, allocations: 43.92 kB / 0.8201 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.01833, allocations: 7.984 kB / 0.8201 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01844, allocations: 26.67 kB / 0.8201 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.01848, allocations: 15.94 kB / 0.8201 GB, free: 8.301 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (34): * Single equations (assignments): 34 * 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.0002003/0.01868, allocations: 200.5 kB / 0.8203 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.01875, allocations: 31.86 kB / 0.8204 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.0193, allocations: 241.8 kB / 0.8206 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.01931, allocations: 4 kB / 0.8206 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01931, allocations: 0 / 0.8206 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01932, allocations: 1.031 kB / 0.8206 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.01973, allocations: 304.3 kB / 0.8209 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01973, allocations: 3.938 kB / 0.8209 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.01992, allocations: 41 kB / 0.8209 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.01992, allocations: 0 / 0.8209 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.01994, allocations: 8 kB / 0.8209 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.01995, allocations: 4.719 kB / 0.8209 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01995, allocations: 1.875 kB / 0.8209 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.02051, allocations: 379.7 kB / 0.8213 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.02055, allocations: 27.8 kB / 0.8213 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.02058, allocations: 4 kB / 0.8213 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.02069, allocations: 9.328 kB / 0.8213 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.02078, allocations: 31.95 kB / 0.8214 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.0208, allocations: 4 kB / 0.8214 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000173/0.02097, allocations: 193.4 kB / 0.8216 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02097, allocations: 1.094 kB / 0.8216 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003174/0.02129, allocations: 63.8 kB / 0.8216 GB, free: 6.715 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001499/0.02144, allocations: 110.1 kB / 0.8217 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.02193, allocations: 219.1 kB / 0.8219 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02193, allocations: 0 / 0.8219 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.02218, allocations: 128.4 kB / 0.8221 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.02248, allocations: 28 kB / 0.8221 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.02343, allocations: 0.4936 MB / 0.8226 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.02361, allocations: 156.3 kB / 0.8227 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.02375, allocations: 38.7 kB / 0.8228 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.02384, allocations: 28.5 kB / 0.8228 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.02384, allocations: 0 / 0.8228 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.006375/0.03021, allocations: 1.837 MB / 0.8246 GB, free: 3.711 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.236666977987625]