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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 106 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 192 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.923/2.923, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00223/0.00223, allocations: 71.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002873/1.174, allocations: 1.438 MB / 1.308 GB, free: 32.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001249/1.175, allocations: 1.104 MB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/1.175, allocations: 9.844 kB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/1.175, allocations: 37.45 kB / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/1.175, allocations: 45.69 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/1.176, allocations: 116.1 kB / 1.309 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/1.176, allocations: 342.3 kB / 1.31 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/1.176, allocations: 158.1 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/1.176, allocations: 143.8 kB / 1.31 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/1.177, allocations: 149.7 kB / 1.31 GB, free: 31.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/1.177, allocations: 44.31 kB / 1.31 GB, free: 31.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/1.177, allocations: 37.09 kB / 1.31 GB, free: 31.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/1.177, allocations: 84.48 kB / 1.31 GB, free: 31.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/1.177, allocations: 158.2 kB / 1.311 GB, free: 31.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/1.177, allocations: 485.9 kB / 1.311 GB, free: 31.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.177, allocations: 0 / 1.311 GB, free: 31.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.177, allocations: 0 / 1.311 GB, free: 31.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.177, allocations: 0 / 1.311 GB, free: 31.02 MB / 1.061 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.0007755/1.178, allocations: 0.5225 MB / 1.312 GB, free: 30.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.178, allocations: 8.719 kB / 1.312 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/1.178, allocations: 41.22 kB / 1.312 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/1.179, allocations: 259.8 kB / 1.312 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/1.179, allocations: 27.16 kB / 1.312 GB, free: 30.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/1.179, allocations: 33.23 kB / 1.312 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/1.179, allocations: 291.3 kB / 1.312 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.179, allocations: 8.188 kB / 1.312 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/1.179, allocations: 14.53 kB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.179, allocations: 7.75 kB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/1.18, allocations: 238.9 kB / 1.312 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/1.181, allocations: 0.7711 MB / 1.313 GB, free: 29.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/1.181, allocations: 226.4 kB / 1.313 GB, free: 29.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/1.181, allocations: 102.2 kB / 1.313 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/1.181, allocations: 10.75 kB / 1.313 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/1.181, allocations: 37.3 kB / 1.314 GB, free: 29.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.243e-06/1.181, allocations: 0 / 1.314 GB, free: 29.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0006358/1.182, allocations: 312.2 kB / 1.314 GB, free: 29.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.182, allocations: 56.56 kB / 1.314 GB, free: 29.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/1.182, allocations: 205.3 kB / 1.314 GB, free: 29.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.182, allocations: 40.64 kB / 1.314 GB, free: 29.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/1.182, allocations: 177.7 kB / 1.314 GB, free: 28.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/1.182, allocations: 85.06 kB / 1.314 GB, free: 28.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/1.182, allocations: 69.91 kB / 1.314 GB, free: 28.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/1.182, allocations: 328.5 kB / 1.315 GB, free: 28.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/1.183, allocations: 82.12 kB / 1.315 GB, free: 28.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/1.183, allocations: 151.6 kB / 1.315 GB, free: 28.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/1.183, allocations: 219.3 kB / 1.315 GB, free: 28.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.183, allocations: 0 / 1.315 GB, free: 28.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004464/1.184, allocations: 279.1 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.184, allocations: 8.625 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.184, allocations: 6.109 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.184, allocations: 6.875 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/1.184, allocations: 48.64 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/1.184, allocations: 6.75 kB / 1.315 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/1.184, allocations: 30.81 kB / 1.316 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.184, allocations: 19.67 kB / 1.316 GB, free: 28.05 MB / 1.061 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.0001932/1.184, allocations: 155.6 kB / 1.316 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/1.184, allocations: 27.05 kB / 1.316 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/1.185, allocations: 260.2 kB / 1.316 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.185, allocations: 10.8 kB / 1.316 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.185, allocations: 0 / 1.316 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.185, allocations: 0 / 1.316 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/1.185, allocations: 322.6 kB / 1.316 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.185, allocations: 0 / 1.316 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/1.185, allocations: 38.75 kB / 1.316 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.185, allocations: 2.469 kB / 1.316 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/1.185, allocations: 6.5 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.185, allocations: 3.938 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.185, allocations: 3.938 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/1.186, allocations: 331 kB / 1.317 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/1.186, allocations: 23.67 kB / 1.317 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/1.186, allocations: 4 kB / 1.317 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.186, allocations: 20.42 kB / 1.317 GB, free: 27.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/1.186, allocations: 32.17 kB / 1.317 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.186, allocations: 9.25 kB / 1.317 GB, free: 27.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.527e-05/1.186, allocations: 139.7 kB / 1.317 GB, free: 27.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.186, allocations: 1.875 kB / 1.317 GB, free: 27.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002824/1.186, allocations: 62.16 kB / 1.317 GB, free: 27.15 MB / 1.061 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.000115/1.186, allocations: 111 kB / 1.317 GB, free: 27.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004308/1.187, allocations: 214.6 kB / 1.317 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.187, allocations: 0 / 1.317 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/1.187, allocations: 103.8 kB / 1.317 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/1.187, allocations: 23.64 kB / 1.317 GB, free: 26.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/1.188, allocations: 0.4892 MB / 1.318 GB, free: 26.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/1.188, allocations: 0.7638 MB / 1.319 GB, free: 25.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001149/1.188, allocations: 31.78 kB / 1.319 GB, free: 25.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/1.188, allocations: 24.09 kB / 1.319 GB, free: 25.91 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.188, allocations: 0 / 1.319 GB, free: 25.91 MB / 1.061 GB Notification: Performance of Templates: time 0.00529/1.194, allocations: 2.042 MB / 1.321 GB, free: 25.73 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] 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: 9.736555779352784]