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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007353/0.007361, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001932/0.001932, allocations: 191.3 kB / 16.67 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 59.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002689/0.2837, allocations: 1.441 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2851, allocations: 1.088 MB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2852, allocations: 4 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.665e-05/0.2853, allocations: 35.53 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.2855, allocations: 39.55 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.2857, allocations: 123.9 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.2861, allocations: 332.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.2864, allocations: 214 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.2866, allocations: 147.4 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.2868, allocations: 143.2 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.2869, allocations: 40 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.2869, allocations: 40 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.287, allocations: 83.73 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2872, allocations: 163.1 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.2877, allocations: 481.9 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2877, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.095e-06/0.2877, allocations: 0 / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2877, allocations: 3.938 kB / 1.224 GB, free: 9.914 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.000865/0.2886, allocations: 0.5887 MB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2886, allocations: 12.03 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.146e-05/0.2887, allocations: 74.72 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.2888, allocations: 40.7 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.2893, allocations: 321.5 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2894, allocations: 29.38 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.2894, allocations: 32.38 kB / 1.226 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.29, allocations: 291.1 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.29, allocations: 3.938 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.29, allocations: 23.94 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2901, allocations: 8 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.2906, allocations: 235.9 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.2918, allocations: 0.8174 MB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.2924, allocations: 261.2 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2926, allocations: 113.3 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.2927, allocations: 240 / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2927, allocations: 34.8 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.153e-06/0.2927, allocations: 4 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008001/0.2935, allocations: 320.2 kB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2936, allocations: 55.41 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2938, allocations: 211.7 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2938, allocations: 29.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.294, allocations: 176.6 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.294, allocations: 87.25 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2941, allocations: 65.97 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2943, allocations: 338.8 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.2945, allocations: 80.52 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2948, allocations: 135.9 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.2953, allocations: 218.7 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2953, allocations: 4 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005832/0.2959, allocations: 282.2 kB / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2959, allocations: 4 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2959, allocations: 4 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2959, allocations: 7.938 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2962, allocations: 55.89 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2962, allocations: 0 / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2963, allocations: 35.83 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2964, allocations: 8 kB / 1.229 GB, free: 4.695 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.0001822/0.2966, allocations: 157.9 kB / 1.229 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.2966, allocations: 23.86 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/0.2972, allocations: 252 kB / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2972, allocations: 4 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2972, allocations: 4 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2972, allocations: 3.984 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.2977, allocations: 353.3 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2977, allocations: 0 / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.2979, allocations: 39.97 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2979, allocations: 4 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2979, allocations: 3.938 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2979, allocations: 0 / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2979, allocations: 3.984 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.2985, allocations: 339.2 kB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.2986, allocations: 104.9 kB / 1.23 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.2986, allocations: 7.938 kB / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2987, allocations: 15.98 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.2988, allocations: 27.97 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2988, allocations: 4 kB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001167/0.299, allocations: 145.5 kB / 1.231 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.299, allocations: 0 / 1.231 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003077/0.2993, allocations: 55.84 kB / 1.231 GB, free: 3.074 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.0009139/0.3002, allocations: 0.8775 MB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.3007, allocations: 227.6 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3008, allocations: 0 / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.301, allocations: 124.2 kB / 1.232 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3013, allocations: 26.23 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.3046, allocations: 2.404 MB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.305, allocations: 0.7636 MB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.3051, allocations: 34.28 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.3053, allocations: 99.39 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of SimCode: time 2.214e-06/0.3053, allocations: 0 / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.3303, allocations: 4.071 MB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.074, allocations: 9.812 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.csv","/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) Reference file matches