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.00173/0.00173, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002225/0.002225, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 8 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.276/3.276, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.002106/0.002106, allocations: 69.56 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3712, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002971/0.3741, allocations: 1.325 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3757, allocations: 1.124 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3758, allocations: 8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.3759, allocations: 35.53 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.376, allocations: 51.53 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.3764, allocations: 119.8 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.3767, allocations: 344.6 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.377, allocations: 146.5 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.3773, allocations: 139.4 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3775, allocations: 135.2 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.3775, allocations: 44 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.3776, allocations: 47.94 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.3777, allocations: 79.77 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3778, allocations: 123.3 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.3784, allocations: 498.1 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3784, allocations: 4 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3784, allocations: 0 / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3784, allocations: 0 / 1.368 GB, free: 9.918 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.000879/0.3793, allocations: 0.5134 MB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3793, allocations: 12.03 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.281e-05/0.3794, allocations: 74.72 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3796, allocations: 44.69 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.3802, allocations: 255.7 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.3802, allocations: 29.38 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.3803, allocations: 36.31 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.3808, allocations: 291.1 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3809, allocations: 7.938 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.3809, allocations: 16 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3809, allocations: 8 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.3815, allocations: 231.9 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3827, allocations: 0.7047 MB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.3832, allocations: 227.5 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.3834, allocations: 109.3 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3835, allocations: 4.234 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3835, allocations: 30.8 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.392e-06/0.3835, allocations: 0 / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0007427/0.3842, allocations: 313.1 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3843, allocations: 59.41 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3845, allocations: 211.7 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3845, allocations: 29.7 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3846, allocations: 180.5 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.3847, allocations: 83.33 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.3848, allocations: 65.92 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.385, allocations: 338.8 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3852, allocations: 80.45 kB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3854, allocations: 147.9 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.3859, allocations: 222.8 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3859, allocations: 0 / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005478/0.3864, allocations: 269.4 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3865, allocations: 8 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3865, allocations: 0 / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.3865, allocations: 7.938 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3868, allocations: 56.11 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3868, allocations: 11.94 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.3869, allocations: 35.77 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3869, allocations: 8 kB / 1.372 GB, free: 5.027 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.0001976/0.3871, allocations: 155.1 kB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.3872, allocations: 23.8 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.3877, allocations: 260.3 kB / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3877, allocations: 4 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3878, allocations: 0 / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3878, allocations: 3.984 kB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.3881, allocations: 288.5 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.3881, allocations: 11.98 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.3883, allocations: 39.92 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3883, allocations: 0 / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3883, allocations: 11.92 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3883, allocations: 4 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3883, allocations: 0 / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.3889, allocations: 327.2 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.3889, allocations: 31.78 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3889, allocations: 3.938 kB / 1.373 GB, free: 3.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3891, allocations: 12 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.3891, allocations: 27.95 kB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3892, allocations: 7.984 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001198/0.3893, allocations: 140.2 kB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 0 / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000311/0.3896, allocations: 63.78 kB / 1.373 GB, free: 3.57 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.000873/0.3905, allocations: 0.8689 MB / 1.374 GB, free: 2.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005158/0.391, allocations: 223.9 kB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.391, allocations: 0 / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.3912, allocations: 103.9 kB / 1.375 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3915, allocations: 31.92 kB / 1.375 GB, free: 2.324 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.3948, allocations: 2.391 MB / 1.377 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.3949, allocations: 155.5 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.3951, allocations: 34.28 kB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3952, allocations: 103.4 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.3952, allocations: 0 / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.4274, allocations: 4.653 MB / 1.382 GB, free: 11.05 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.83, allocations: 0 / 1.382 GB, free: 11.05 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.692161913961172]