Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001272/0.001272, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001504/0.001504, allocations: 215 kB / 22.25 MB, free: 5.074 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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: 67.28 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003228/0.332, allocations: 1.451 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3339, allocations: 1.151 MB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.3342, allocations: 4 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.3343, allocations: 39.47 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.3346, allocations: 35.62 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.335, allocations: 127.8 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.3355, allocations: 336.7 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.3359, allocations: 162.5 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.3362, allocations: 147.4 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3365, allocations: 147.3 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.205e-05/0.3366, allocations: 40 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3367, allocations: 44 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.3367, allocations: 83.69 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3369, allocations: 167.1 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.3375, allocations: 490.1 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3375, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3375, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.3375, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 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.0009935/0.3385, allocations: 0.5173 MB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3386, allocations: 8.031 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.2e-05/0.3387, allocations: 74.66 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.3388, allocations: 44.7 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.3394, allocations: 263.7 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.3395, allocations: 29.38 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.3395, allocations: 28.38 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.3402, allocations: 295.1 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3402, allocations: 3.938 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.3402, allocations: 15.94 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3402, allocations: 8 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.3408, allocations: 243.8 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3421, allocations: 0.7827 MB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.3427, allocations: 223.4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3429, allocations: 109.3 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.343, allocations: 8.234 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.343, allocations: 30.8 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 3.747e-06/0.343, allocations: 3.984 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008176/0.3438, allocations: 312.9 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3439, allocations: 55.41 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.3441, allocations: 215.7 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3441, allocations: 25.7 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3443, allocations: 184.5 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.3444, allocations: 79.27 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3445, allocations: 73.92 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3446, allocations: 326.8 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.3449, allocations: 84.5 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.3451, allocations: 139.9 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.3456, allocations: 222.9 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3456, allocations: 0 / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006098/0.3462, allocations: 277.2 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3462, allocations: 4 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3463, allocations: 4 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3463, allocations: 7.938 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3465, allocations: 51.91 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3465, allocations: 224 / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3467, allocations: 31.88 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3467, allocations: 12 kB / 1.292 GB, free: 2.312 MB / 0.9825 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.0002509/0.347, allocations: 154.3 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.347, allocations: 23.86 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.3476, allocations: 264.3 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3476, allocations: 4 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3476, allocations: 4 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3476, allocations: 0 / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.3481, allocations: 332.3 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3481, allocations: 3.984 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3483, allocations: 35.92 kB / 1.293 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3483, allocations: 4 kB / 1.293 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3483, allocations: 11.92 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3483, allocations: 4 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3483, allocations: 4 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3488, allocations: 319.4 kB / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.3489, allocations: 23.78 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3489, allocations: 11.94 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.349, allocations: 12 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.3491, allocations: 27.95 kB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3492, allocations: 11.98 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001221/0.3493, allocations: 129.5 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3493, allocations: 0 / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003242/0.3496, allocations: 63.8 kB / 1.294 GB, free: 0.8242 MB / 0.9825 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.000967/0.3506, allocations: 0.8728 MB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.3512, allocations: 216.3 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3512, allocations: 4 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.3514, allocations: 107.8 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3518, allocations: 27.98 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.3554, allocations: 2.402 MB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.3558, allocations: 0.7636 MB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.356, allocations: 38.27 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3562, allocations: 99.39 kB / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3562, allocations: 0 / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.3916, allocations: 4.333 MB / 1.302 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 7.438 kB / 1.302 GB, free: 7.969 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.72607865720056]