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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.39 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2475, allocations: 159.1 MB / 1.064 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002753/0.2502, allocations: 1.441 MB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2515, allocations: 1.088 MB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2517, allocations: 4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.771e-05/0.2518, allocations: 35.53 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.252, allocations: 43.53 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2523, allocations: 123.8 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.2526, allocations: 344.6 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.2529, allocations: 210 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2531, allocations: 131.5 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2532, allocations: 155.2 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.2533, allocations: 36 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.48e-05/0.2534, allocations: 40 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.2534, allocations: 83.69 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.2535, allocations: 159.1 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.2539, allocations: 462.7 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2539, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2539, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.254, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 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.0007632/0.2547, allocations: 0.5852 MB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.2548, allocations: 8.031 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.2548, allocations: 70.72 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.2549, allocations: 40.41 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.2554, allocations: 329.3 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.2555, allocations: 33.38 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.2555, allocations: 28.38 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.256, allocations: 295.1 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.256, allocations: 7.875 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.2561, allocations: 16 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2561, allocations: 8 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.2566, allocations: 231.9 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.2576, allocations: 0.8289 MB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.2581, allocations: 247.4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.2583, allocations: 121.3 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2583, allocations: 240 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2584, allocations: 34.8 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.634e-06/0.2584, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007109/0.2591, allocations: 319.3 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.2591, allocations: 51.41 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.2593, allocations: 215.5 kB / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.2593, allocations: 29.7 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.2594, allocations: 180.2 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.2595, allocations: 82.83 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.2596, allocations: 65.97 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.2597, allocations: 334.8 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.2599, allocations: 76.52 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.2602, allocations: 143.9 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.2606, allocations: 223.7 kB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2606, allocations: 0 / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005105/0.2611, allocations: 273.1 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2611, allocations: 4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2611, allocations: 12.16 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2612, allocations: 7.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2614, allocations: 51.89 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2614, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2615, allocations: 27.75 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.2616, allocations: 15.98 kB / 1.073 GB, free: 4.879 MB / 0.8262 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.00016/0.2617, allocations: 149.7 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.2618, allocations: 23.81 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.2623, allocations: 256 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2623, allocations: 0 / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2623, allocations: 4 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2624, allocations: 0 / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.2627, allocations: 349.3 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2627, allocations: 4 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.2629, allocations: 39.91 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2629, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2629, allocations: 11.94 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2629, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2629, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.2634, allocations: 335.6 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.2635, allocations: 100.8 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2635, allocations: 7.938 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2637, allocations: 15.98 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.2637, allocations: 19.97 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2638, allocations: 19.98 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.651e-05/0.2639, allocations: 137.5 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2639, allocations: 0 / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002944/0.2642, allocations: 67.62 kB / 1.074 GB, free: 3.27 MB / 0.8262 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.000754/0.2649, allocations: 0.8673 MB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.2655, allocations: 235.7 kB / 1.075 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2655, allocations: 0 / 1.075 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.2657, allocations: 124.7 kB / 1.075 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.266, allocations: 26.14 kB / 1.075 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.2689, allocations: 2.395 MB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2692, allocations: 0.7674 MB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.2693, allocations: 34.47 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.2695, allocations: 101.2 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of SimCode: time 1.493e-06/0.2695, allocations: 3.938 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.2891, allocations: 4.016 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.258, allocations: 2.5 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/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) Reference file matches