Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 195.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.828/1.828, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 64.09 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6275, allocations: 140.4 MB / 0.9493 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002338/0.6299, allocations: 1.468 MB / 0.9507 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.6309, allocations: 1.08 MB / 0.9518 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.631, allocations: 4.031 kB / 0.9518 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/0.6311, allocations: 15.8 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.6312, allocations: 23.69 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.6315, allocations: 106.7 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.6317, allocations: 337 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.632, allocations: 212.7 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.6322, allocations: 132.4 kB / 0.9526 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.6323, allocations: 142.1 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.6324, allocations: 41.3 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.6324, allocations: 42.25 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.6325, allocations: 80.66 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.6326, allocations: 156.9 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.6329, allocations: 457.7 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.6329, allocations: 0 / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6329, allocations: 1.156 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6329, allocations: 0 / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0006989/0.6336, allocations: 0.5766 MB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.6337, allocations: 13.19 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.6337, allocations: 69.41 kB / 0.9541 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.6338, allocations: 34.47 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.6343, allocations: 325 kB / 0.9544 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.6343, allocations: 27.72 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.6343, allocations: 32.78 kB / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.6348, allocations: 287.6 kB / 0.9548 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6349, allocations: 0 / 0.9548 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.6349, allocations: 11.72 kB / 0.9548 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.6349, allocations: 11.7 kB / 0.9548 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.6354, allocations: 236.6 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.6363, allocations: 0.8059 MB / 0.9558 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.6368, allocations: 238.2 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.637, allocations: 109.7 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.6371, allocations: 2.188 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.6371, allocations: 40.83 kB / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.6371, allocations: 0 / 0.9562 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006827/0.6378, allocations: 299.6 kB / 0.9565 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.6378, allocations: 61.41 kB / 0.9565 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.638, allocations: 215.3 kB / 0.9567 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.638, allocations: 31.11 kB / 0.9567 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.6381, allocations: 171.6 kB / 0.9569 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.6381, allocations: 80.72 kB / 0.957 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.6382, allocations: 66.88 kB / 0.9571 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.6382, allocations: 332.9 kB / 0.9574 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.6384, allocations: 72.98 kB / 0.9574 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.6386, allocations: 142.5 kB / 0.9576 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.639, allocations: 211.5 kB / 0.9578 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.639, allocations: 1.375 kB / 0.9578 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004571/0.6395, allocations: 272.3 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.6395, allocations: 9.188 kB / 0.958 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6395, allocations: 2.688 kB / 0.958 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6395, allocations: 6.594 kB / 0.9581 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.6398, allocations: 51.62 kB / 0.9581 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6398, allocations: 3.625 kB / 0.9581 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.6399, allocations: 37.67 kB / 0.9581 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.64, allocations: 7.5 kB / 0.9582 GB, free: 2.277 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.000106/0.6401, allocations: 155.5 kB / 0.9583 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.6401, allocations: 24.56 kB / 0.9583 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.6406, allocations: 256.7 kB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6406, allocations: 2.875 kB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6406, allocations: 1.094 kB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6407, allocations: 0 / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.6409, allocations: 339.6 kB / 0.9589 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.641, allocations: 0 / 0.9589 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.6411, allocations: 45.31 kB / 0.9589 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.6412, allocations: 6.125 kB / 0.9589 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6412, allocations: 1.25 kB / 0.9589 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6412, allocations: 5.25 kB / 0.959 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6412, allocations: 3.984 kB / 0.959 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.6416, allocations: 329.2 kB / 0.9593 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.6417, allocations: 95.11 kB / 0.9594 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.6417, allocations: 9 kB / 0.9594 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.6418, allocations: 18.27 kB / 0.9594 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.6419, allocations: 22.44 kB / 0.9594 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6419, allocations: 9.062 kB / 0.9594 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.574e-05/0.642, allocations: 137.1 kB / 0.9595 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.642, allocations: 0 / 0.9595 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002943/0.6423, allocations: 61.69 kB / 0.9596 GB, free: 1.137 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0006297/0.643, allocations: 0.8763 MB / 0.9605 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004851/0.6435, allocations: 224.8 kB / 0.9607 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6435, allocations: 5.094 kB / 0.9607 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.6437, allocations: 111.1 kB / 0.9608 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.644, allocations: 28.98 kB / 0.9608 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.6471, allocations: 2.484 MB / 0.9632 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.6474, allocations: 0.7622 MB / 0.964 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.6476, allocations: 39.03 kB / 0.964 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.6477, allocations: 96.22 kB / 0.9641 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.6478, allocations: 0 / 0.9641 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.759/3.406, allocations: 3.819 MB / 0.9678 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/3.407, allocations: 260 kB / 0.9681 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/5.688, allocations: 2.938 kB / 0.9681 GB, free: 11.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches