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.001857/0.001857, allocations: 104 kB / 16.45 MB, free: 6.449 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.002261/0.002261, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.18/3.18, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [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.002033/0.002033, allocations: 69.47 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003017/0.3278, allocations: 1.451 MB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3294, allocations: 1.132 MB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3295, allocations: 4 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.343e-05/0.3296, allocations: 35.53 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.3298, allocations: 51.55 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3301, allocations: 127.9 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.3304, allocations: 340.6 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3307, allocations: 154 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.331, allocations: 151.4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.3312, allocations: 143.3 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.3312, allocations: 40 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.3313, allocations: 44 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.3314, allocations: 83.64 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3315, allocations: 163.1 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.3321, allocations: 494.1 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3321, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3321, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3321, allocations: 3.984 kB / 1.325 GB, free: 14.9 MB / 1.029 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.000931/0.333, allocations: 0.5849 MB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3331, allocations: 15.98 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.3332, allocations: 66.72 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.3334, allocations: 48.69 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.334, allocations: 333.5 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.334, allocations: 29.38 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.3341, allocations: 28.38 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.3347, allocations: 295 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3347, allocations: 3.938 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.3347, allocations: 15.94 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3347, allocations: 12 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.3353, allocations: 235.9 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3366, allocations: 0.8253 MB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.3372, allocations: 227.4 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.3375, allocations: 101.3 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.3375, allocations: 8.234 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3375, allocations: 34.8 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.3375, allocations: 0 / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.000822/0.3384, allocations: 320.2 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3384, allocations: 51.41 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3386, allocations: 211.6 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3386, allocations: 33.7 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.3388, allocations: 184.5 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.3388, allocations: 83.31 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.339, allocations: 73.91 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3391, allocations: 330.8 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.3394, allocations: 80.5 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3396, allocations: 143.9 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.3401, allocations: 214.7 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3401, allocations: 0 / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006012/0.3407, allocations: 282.3 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3407, allocations: 4 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3407, allocations: 4 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.3408, allocations: 7.922 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.341, allocations: 51.91 kB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.341, allocations: 4 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.3412, allocations: 27.88 kB / 1.33 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3412, allocations: 12 kB / 1.33 GB, free: 9.707 MB / 1.029 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.0002402/0.3414, allocations: 154.3 kB / 1.33 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.3415, allocations: 23.84 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/0.3421, allocations: 268.1 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3421, allocations: 0 / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3421, allocations: 3.938 kB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3422, allocations: 8 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.3428, allocations: 349.3 kB / 1.331 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3428, allocations: 4 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.343, allocations: 39.91 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.343, allocations: 0 / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.343, allocations: 19.86 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.343, allocations: 0 / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.343, allocations: 0 / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.3436, allocations: 327.3 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.3437, allocations: 93.02 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3437, allocations: 11.92 kB / 1.331 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3438, allocations: 8 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.3439, allocations: 27.95 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3439, allocations: 16 kB / 1.331 GB, free: 8.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002044/0.3441, allocations: 137.5 kB / 1.331 GB, free: 8.148 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3441, allocations: 4 kB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003239/0.3445, allocations: 67.73 kB / 1.331 GB, free: 8.078 MB / 1.029 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.001016/0.3455, allocations: 0.8806 MB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005653/0.346, allocations: 211.7 kB / 1.332 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.346, allocations: 0 / 1.332 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.3463, allocations: 103.9 kB / 1.333 GB, free: 6.863 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3466, allocations: 28.42 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.3501, allocations: 2.4 MB / 1.335 GB, free: 4.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.3506, allocations: 0.7712 MB / 1.336 GB, free: 3.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.3508, allocations: 30.28 kB / 1.336 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.351, allocations: 99.41 kB / 1.336 GB, free: 3.387 MB / 1.029 GB Notification: Performance of SimCode: time 1.272e-06/0.351, allocations: 0 / 1.336 GB, free: 3.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3789, allocations: 4.098 MB / 1.34 GB, free: 15.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/8.889, allocations: 9.484 kB / 1.34 GB, free: 15.48 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.607534863054752]