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.Overrides.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.0009616/0.0009616, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.000845/0.000845, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9048/0.9048, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Overrides,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9505 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.96e-05, allocations: 5.656 kB / 0.9505 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001526/0.001546, allocations: 1.079 MB / 0.9516 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.00284, allocations: 1.252 MB / 0.9528 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.002922, allocations: 0 / 0.9528 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.002967, allocations: 23.72 kB / 0.9528 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.003063, allocations: 39.61 kB / 0.9529 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.003465, allocations: 190.6 kB / 0.9531 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.003675, allocations: 275.9 kB / 0.9533 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.003818, allocations: 80.28 kB / 0.9534 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.00396, allocations: 151.7 kB / 0.9535 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.004068, allocations: 87.75 kB / 0.9536 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.0041, allocations: 28 kB / 0.9537 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.00416, allocations: 43.97 kB / 0.9537 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.004195, allocations: 55.83 kB / 0.9538 GB, free: 15 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.004259, allocations: 75.81 kB / 0.9538 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.00453, allocations: 358.8 kB / 0.9542 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004532, allocations: 0 / 0.9542 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004534, allocations: 0 / 0.9542 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.004538, allocations: 7.938 kB / 0.9542 GB, free: 14.56 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005925/0.005131, allocations: 483 kB / 0.9546 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.005166, allocations: 8.031 kB / 0.9546 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.005202, allocations: 58.73 kB / 0.9547 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.005246, allocations: 24.8 kB / 0.9547 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.005635, allocations: 234.2 kB / 0.9549 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.005654, allocations: 16.38 kB / 0.955 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.005678, allocations: 20.38 kB / 0.955 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.005957, allocations: 215.8 kB / 0.9552 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005966, allocations: 192 / 0.9552 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.005981, allocations: 12.12 kB / 0.9552 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005987, allocations: 4 kB / 0.9552 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.006247, allocations: 155.8 kB / 0.9553 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.006799, allocations: 0.5735 MB / 0.9559 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.007021, allocations: 145.1 kB / 0.956 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.007141, allocations: 77.75 kB / 0.9561 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.007162, allocations: 4 kB / 0.9561 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.007385, allocations: 143.7 kB / 0.9563 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.007386, allocations: 0 / 0.9563 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0004598/0.007846, allocations: 265.4 kB / 0.9565 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.007884, allocations: 81.11 kB / 0.9566 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.007983, allocations: 175.2 kB / 0.9568 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.008006, allocations: 33.7 kB / 0.9568 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.008069, allocations: 132.5 kB / 0.9569 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.008097, allocations: 51.59 kB / 0.957 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.008163, allocations: 57.67 kB / 0.957 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.00824, allocations: 330.8 kB / 0.9573 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.008404, allocations: 109.6 kB / 0.9574 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.008567, allocations: 156.1 kB / 0.9576 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.008833, allocations: 210.6 kB / 0.9578 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.008835, allocations: 0 / 0.9578 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003786/0.009213, allocations: 317.2 kB / 0.9581 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.009239, allocations: 33.7 kB / 0.9581 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.009244, allocations: 4.125 kB / 0.9581 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009257, allocations: 4 kB / 0.9581 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.009367, allocations: 35.91 kB / 0.9582 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.009374, allocations: 11.97 kB / 0.9582 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.0095, allocations: 51.78 kB / 0.9582 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.009519, allocations: 12 kB / 0.9582 GB, free: 10.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 8.364e-05/0.009603, allocations: 137.8 kB / 0.9584 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.00962, allocations: 19.89 kB / 0.9584 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.009654, allocations: 17.47 kB / 0.9584 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.009658, allocations: 7.938 kB / 0.9584 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009662, allocations: 0 / 0.9584 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009667, allocations: 3.938 kB / 0.9584 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.009808, allocations: 224.6 kB / 0.9586 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009809, allocations: 3.938 kB / 0.9586 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.849e-05/0.009888, allocations: 35.97 kB / 0.9587 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.009889, allocations: 0 / 0.9587 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.009901, allocations: 15.92 kB / 0.9587 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.009901, allocations: 0 / 0.9587 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009903, allocations: 3.984 kB / 0.9587 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.0102, allocations: 224.5 kB / 0.9589 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01021, allocations: 15.89 kB / 0.9589 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.01022, allocations: 8.312 kB / 0.9589 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.01028, allocations: 11.98 kB / 0.9589 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.01034, allocations: 27.91 kB / 0.959 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01035, allocations: 11.98 kB / 0.959 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.0104, allocations: 125 kB / 0.9591 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0104, allocations: 0 / 0.9591 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001764/0.01058, allocations: 55.83 kB / 0.9591 GB, free: 9.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000598/0.01118, allocations: 0.7732 MB / 0.9599 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.01153, allocations: 264.8 kB / 0.9602 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01153, allocations: 4.25 kB / 0.9602 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01167, allocations: 87.81 kB / 0.9602 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.01185, allocations: 31.92 kB / 0.9603 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.01368, allocations: 2.225 MB / 0.9624 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.541e-05/0.01374, allocations: 120.9 kB / 0.9626 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.01381, allocations: 25.48 kB / 0.9626 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.01389, allocations: 64.47 kB / 0.9626 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of SimCode: time 4.2e-07/0.01389, allocations: 0 / 0.9626 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.03098, allocations: 5.346 MB / 0.9679 GB, free: 188 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.956, allocations: 2.25 kB / 0.9679 GB, free: 188 kB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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: 10.86481303628534]