Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.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.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow",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.004779/0.004779, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001459/0.001459, allocations: 197.4 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.8 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2881, allocations: 162.2 MB / 1.242 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow): time 0.003178/0.2913, allocations: 1.752 MB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.2921, allocations: 351 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2922, allocations: 11.94 kB / 1.244 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.2925, allocations: 91.16 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.2927, allocations: 79.48 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.293, allocations: 131.8 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.2936, allocations: 0.5941 MB / 1.244 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.2945, allocations: 0.7194 MB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2948, allocations: 286.9 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.2952, allocations: 406.3 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.2954, allocations: 88 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2955, allocations: 88 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.2958, allocations: 323.2 kB / 1.246 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004155/0.2963, allocations: 437.5 kB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.2977, allocations: 1.482 MB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2977, allocations: 0 / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2977, allocations: 0 / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.2977, allocations: 4 kB / 1.248 GB, free: 3.273 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001889/0.2996, allocations: 1.25 MB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2996, allocations: 12.03 kB / 1.249 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.2998, allocations: 135.3 kB / 1.25 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3, allocations: 104.3 kB / 1.25 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.3009, allocations: 0.6441 MB / 1.25 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.301, allocations: 62.38 kB / 1.25 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3011, allocations: 80.38 kB / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4844/0.7855, allocations: 0.9247 MB / 1.251 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.7856, allocations: 0 / 1.251 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.7858, allocations: 33.94 kB / 1.251 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.7858, allocations: 19.94 kB / 1.251 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.7873, allocations: 0.9296 MB / 1.252 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.7915, allocations: 3.159 MB / 1.255 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.7918, allocations: 241.5 kB / 1.256 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.7921, allocations: 166.3 kB / 1.256 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.7921, allocations: 12.5 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.7921, allocations: 37.3 kB / 1.256 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.7921, allocations: 2.031 kB / 1.256 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0007516/0.7929, allocations: 497 kB / 1.256 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.7929, allocations: 54.84 kB / 1.256 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7939, allocations: 0.8701 MB / 1.257 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.794, allocations: 33.61 kB / 1.257 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.7942, allocations: 0.5137 MB / 1.258 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.7943, allocations: 101.5 kB / 1.258 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.7945, allocations: 132 kB / 1.258 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.7946, allocations: 380.2 kB / 1.258 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.7949, allocations: 242.3 kB / 1.259 GB, free: 11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.7953, allocations: 0.5224 MB / 1.259 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.796, allocations: 0.7566 MB / 1.26 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.796, allocations: 4.188 kB / 1.26 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001057/0.7971, allocations: 0.8162 MB / 1.261 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7971, allocations: 14.5 kB / 1.261 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7971, allocations: 11.5 kB / 1.261 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.7972, allocations: 17.5 kB / 1.261 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.7977, allocations: 148.2 kB / 1.261 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/0.7977, allocations: 25.88 kB / 1.261 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.7982, allocations: 107.4 kB / 1.261 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.7982, allocations: 33.42 kB / 1.261 GB, free: 9.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (opeMod[2].y,opeMod[1].y,zonToAhu.occMod[2].y,zonToAhu.occMod[1].y,zonToAhu.intEqu1[1].y,zonToAhu.intEqu1[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.00035/0.7986, allocations: 366.4 kB / 1.261 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.7987, allocations: 66.7 kB / 1.261 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.7993, allocations: 419.1 kB / 1.262 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7993, allocations: 3.875 kB / 1.262 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7993, allocations: 0 / 1.262 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7993, allocations: 2.953 kB / 1.262 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.8016, allocations: 2.245 MB / 1.264 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8016, allocations: 6.844 kB / 1.264 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.8018, allocations: 68.47 kB / 1.264 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.8018, allocations: 8.969 kB / 1.264 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.8019, allocations: 14.03 kB / 1.264 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.8019, allocations: 12.69 kB / 1.264 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.8019, allocations: 11.44 kB / 1.264 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.8024, allocations: 0.5653 MB / 1.265 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.8025, allocations: 173.5 kB / 1.265 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.8026, allocations: 14.5 kB / 1.265 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.8028, allocations: 27.95 kB / 1.265 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.8029, allocations: 42.89 kB / 1.265 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.8029, allocations: 18.05 kB / 1.265 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006419/0.8036, allocations: 0.5981 MB / 1.265 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8036, allocations: 0 / 1.265 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005631/0.8042, allocations: 159.7 kB / 1.266 GB, free: 7.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0006764/0.8048, allocations: 1.134 MB / 1.267 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006576/0.8055, allocations: 0.5184 MB / 1.267 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8055, allocations: 1.344 kB / 1.267 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.8057, allocations: 174.9 kB / 1.267 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.8062, allocations: 88.92 kB / 1.267 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.8136, allocations: 7.126 MB / 1.274 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.8142, allocations: 1.074 MB / 1.275 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004703/0.8147, allocations: 203.7 kB / 1.276 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.815, allocations: 276.3 kB / 1.276 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.815, allocations: 0 / 1.276 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.8504, allocations: 11.59 MB / 1.287 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/9.357, allocations: 6.859 kB / 1.287 GB, free: 15.72 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_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_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches