Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.02087/0.02088, allocations: 101 kB / 15.73 MB, free: 6.457 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.002609/0.00261, allocations: 202.2 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.742/2.742, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.011/5.011, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7757, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.004691/0.7805, allocations: 0.8828 MB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.7846, allocations: 1.167 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.7849, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.7851, allocations: 7.875 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.7854, allocations: 11.86 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.7867, allocations: 155.4 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.7873, allocations: 163.6 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.7877, allocations: 45.56 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.7879, allocations: 59.84 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.7882, allocations: 63.78 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.7883, allocations: 16 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.7885, allocations: 27.98 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.7886, allocations: 23.92 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.7887, allocations: 59.72 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.7894, allocations: 171.6 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.7894, allocations: 4 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7894, allocations: 3.938 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7895, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001354/0.7908, allocations: 448.7 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.458e-05/0.7909, allocations: 8.031 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.791, allocations: 38.75 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.7912, allocations: 16.88 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.7921, allocations: 236.3 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.7921, allocations: 4.375 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.7922, allocations: 12.38 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.7927, allocations: 100.2 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.7927, allocations: 3.938 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.7928, allocations: 0 / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.7928, allocations: 4 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.7932, allocations: 71.91 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009231/0.7941, allocations: 396.5 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.7944, allocations: 66.48 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.7946, allocations: 36.97 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.7946, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.7951, allocations: 83.36 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 3.086e-06/0.7951, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0006857/0.7958, allocations: 141.6 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.7959, allocations: 55.39 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.7961, allocations: 129.8 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.7962, allocations: 33.7 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.7963, allocations: 104 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.7964, allocations: 27.78 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7965, allocations: 37.7 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.7967, allocations: 318.8 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.797, allocations: 51.97 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.7973, allocations: 75.39 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.7977, allocations: 133 kB / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.7977, allocations: 0 / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006832/0.7984, allocations: 203.1 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.7985, allocations: 37.64 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7985, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.7985, allocations: 96 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7987, allocations: 24.02 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.7987, allocations: 7.938 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.799, allocations: 31.95 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.7991, allocations: 8 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.00019/0.7993, allocations: 117.8 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.7993, allocations: 15.88 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.7994, allocations: 16.36 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7994, allocations: 0 / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.7994, allocations: 4 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7994, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.7998, allocations: 205.6 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7998, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.7999, allocations: 15.98 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.7999, allocations: 7.938 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.8, allocations: 0 / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8, allocations: 0 / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.8, allocations: 4 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.8004, allocations: 129 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.8005, allocations: 88.98 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.8005, allocations: 3.938 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.8006, allocations: 8 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.8007, allocations: 7.984 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.8007, allocations: 8 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001261/0.8009, allocations: 102.1 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of sort global known variables: time 3e-07/0.8009, allocations: 0 / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000378/0.8013, allocations: 20 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009818/0.8022, allocations: 0.6943 MB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.8029, allocations: 163.8 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8029, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.8031, allocations: 40.12 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.8035, allocations: 26.34 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.8071, allocations: 1.643 MB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.8076, allocations: 0.6963 MB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.8077, allocations: 12.42 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.8078, allocations: 23.44 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of SimCode: time 1.373e-06/0.8078, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/0.9214, allocations: 2.862 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.72, allocations: 9.25 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches