Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.005081/0.005081, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.00151/0.00151, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002264/0.2852, allocations: 1.007 MB / 1.242 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2865, allocations: 0.9791 MB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.2866, allocations: 7.938 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.739e-05/0.2866, allocations: 15.8 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2868, allocations: 23.73 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.287, allocations: 71.92 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.2872, allocations: 168 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.2874, allocations: 92.28 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.2875, allocations: 71.7 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2877, allocations: 75.62 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.2877, allocations: 20 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.2878, allocations: 20 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.2878, allocations: 39.89 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.2879, allocations: 71.61 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.2882, allocations: 215 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2882, allocations: 0 / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2882, allocations: 0 / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2882, allocations: 0 / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007131/0.2889, allocations: 458.7 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.289, allocations: 12.03 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.289, allocations: 54.67 kB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.2891, allocations: 20.8 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.2895, allocations: 258.2 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2896, allocations: 12.38 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.2896, allocations: 16.38 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.29, allocations: 146 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.29, allocations: 7.938 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.29, allocations: 11.94 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.29, allocations: 4 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.2904, allocations: 115.9 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.2911, allocations: 484.2 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.2915, allocations: 126.6 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.2916, allocations: 56.81 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2917, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2917, allocations: 34.56 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.2917, allocations: 4 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0005854/0.2923, allocations: 177.7 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.2924, allocations: 55.39 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.2925, allocations: 154.4 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2925, allocations: 25.7 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.2926, allocations: 120.4 kB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.2927, allocations: 35.73 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.2928, allocations: 53.56 kB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2929, allocations: 326.7 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2931, allocations: 39.97 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2933, allocations: 71.39 kB / 1.247 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.2936, allocations: 119.4 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2936, allocations: 0 / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004076/0.294, allocations: 153.5 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2941, allocations: 8 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.2941, allocations: 0 / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2941, allocations: 3.938 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.2943, allocations: 31.91 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2943, allocations: 0 / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2944, allocations: 15.98 kB / 1.247 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2944, allocations: 8.094 kB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001233/0.2945, allocations: 136.1 kB / 1.247 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.2946, allocations: 15.91 kB / 1.248 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.2946, allocations: 16.7 kB / 1.248 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2946, allocations: 4 kB / 1.248 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2946, allocations: 0 / 1.248 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2946, allocations: 0 / 1.248 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.2949, allocations: 233.5 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2949, allocations: 4 kB / 1.248 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.2951, allocations: 19.98 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2951, allocations: 0 / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2951, allocations: 7.984 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2951, allocations: 0 / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2951, allocations: 0 / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.2956, allocations: 243.2 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.2956, allocations: 85.06 kB / 1.248 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2957, allocations: 4 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2958, allocations: 7.984 kB / 1.248 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.2959, allocations: 15.98 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2959, allocations: 8 kB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.296, allocations: 112.7 kB / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.296, allocations: 0 / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002686/0.2962, allocations: 31.89 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0007679/0.297, allocations: 0.7707 MB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.2974, allocations: 120.1 kB / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2974, allocations: 0 / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2976, allocations: 60.17 kB / 1.249 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.2979, allocations: 24.45 kB / 1.249 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.3003, allocations: 1.757 MB / 1.251 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4539/0.7542, allocations: 0.7083 MB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00011/0.7544, allocations: 19.83 kB / 1.252 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.7545, allocations: 48.03 kB / 1.252 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.7545, allocations: 0.6562 kB / 1.252 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.7781, allocations: 2.761 MB / 1.254 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/8.409, allocations: 10 kB / 1.254 GB, free: 14.21 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches