Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001913/0.001913, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00241/0.00241, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 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.668/1.668, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.384/3.384, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 71.05 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4104, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003148/0.4135, allocations: 1.316 MB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.4152, allocations: 1.128 MB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.4153, allocations: 4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.4154, allocations: 35.53 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.4156, allocations: 43.55 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.4159, allocations: 127.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.4163, allocations: 340.6 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.4167, allocations: 154.5 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.417, allocations: 143.4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4171, allocations: 135.2 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.4172, allocations: 36 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.4173, allocations: 47.94 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.4174, allocations: 75.77 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.4175, allocations: 131.3 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.4181, allocations: 493.9 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4181, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4181, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4181, allocations: 4 kB / 1.368 GB, free: 9.426 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.000875/0.419, allocations: 0.5237 MB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.419, allocations: 8.031 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.4192, allocations: 48.7 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.4198, allocations: 259.7 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.4199, allocations: 25.38 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.4199, allocations: 40.38 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.4205, allocations: 291 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4205, allocations: 192 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.4206, allocations: 15.94 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.4206, allocations: 8 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.4211, allocations: 239.9 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.4223, allocations: 0.6584 MB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.4228, allocations: 223.4 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4231, allocations: 105.3 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.4231, allocations: 240 / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4231, allocations: 42.83 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.132e-06/0.4231, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0007803/0.4239, allocations: 311.5 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.424, allocations: 59.34 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4242, allocations: 207.7 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.4242, allocations: 29.7 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4243, allocations: 180.5 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.4244, allocations: 87.31 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.4245, allocations: 69.92 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4247, allocations: 330.8 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.4249, allocations: 88.45 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.4251, allocations: 143.8 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.4256, allocations: 215.7 kB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4256, allocations: 0 / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000559/0.4261, allocations: 273.3 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4262, allocations: 8 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4262, allocations: 4.219 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4262, allocations: 4 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4264, allocations: 55.91 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.4264, allocations: 11.92 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4266, allocations: 27.78 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.4266, allocations: 11.98 kB / 1.372 GB, free: 4.672 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.000232/0.4268, allocations: 155.1 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.4269, allocations: 19.86 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.4275, allocations: 256.1 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4275, allocations: 7.938 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4275, allocations: 3.938 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4275, allocations: 0 / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.4278, allocations: 245.1 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4278, allocations: 3.984 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.428, allocations: 43.92 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.428, allocations: 0 / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.428, allocations: 11.98 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.428, allocations: 0 / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.428, allocations: 4 kB / 1.373 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.4286, allocations: 327.7 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.4286, allocations: 27.78 kB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.4286, allocations: 4 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.4288, allocations: 16 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.4289, allocations: 27.89 kB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.4289, allocations: 11.98 kB / 1.373 GB, free: 3.473 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001174/0.429, allocations: 140.1 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.429, allocations: 0 / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003048/0.4293, allocations: 63.78 kB / 1.374 GB, free: 3.273 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.0001279/0.4294, allocations: 107.2 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.4299, allocations: 216 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4299, allocations: 0 / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.4302, allocations: 103.8 kB / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4305, allocations: 34.09 kB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.4314, allocations: 486.4 kB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.4316, allocations: 167.3 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.4317, allocations: 30.28 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.4318, allocations: 23.44 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4318, allocations: 0 / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of Templates: time 0.00613/0.4379, allocations: 2.035 MB / 1.377 GB, free: 108 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.757451003417373]