Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 102 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 69.39 kB / 1.149 GB, free: 26.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002394/0.3759, allocations: 0.8792 MB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3777, allocations: 1.19 MB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.3778, allocations: 4 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.3778, allocations: 11.86 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.3779, allocations: 19.8 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.3785, allocations: 146.8 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.3787, allocations: 147.7 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3788, allocations: 41.5 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.379, allocations: 67.83 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3791, allocations: 59.73 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3791, allocations: 16 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.3792, allocations: 27.98 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.3792, allocations: 23.86 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.3793, allocations: 63.72 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3796, allocations: 175.6 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3796, allocations: 3.984 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3796, allocations: 0 / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3796, allocations: 0 / 1.324 GB, free: 496 kB / 1.014 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.0007228/0.3803, allocations: 440.7 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.3804, allocations: 16.03 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.3804, allocations: 42.69 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.3805, allocations: 12.84 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.381, allocations: 232.4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.381, allocations: 8.312 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.381, allocations: 20.38 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3813, allocations: 89.78 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3813, allocations: 3.938 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3813, allocations: 7.984 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3813, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.3815, allocations: 65.16 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.3821, allocations: 404.4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3823, allocations: 58.55 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3825, allocations: 44.89 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3825, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.3827, allocations: 83.38 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3827, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004802/0.3832, allocations: 137.9 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3832, allocations: 59.34 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3833, allocations: 132.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3834, allocations: 29.7 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.3835, allocations: 112 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3835, allocations: 27.75 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.3836, allocations: 37.69 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3837, allocations: 318.8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3839, allocations: 43.95 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3841, allocations: 87.39 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3844, allocations: 129.1 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3844, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004594/0.3848, allocations: 199.2 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.3849, allocations: 37.62 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.3849, allocations: 4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3849, allocations: 0 / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.385, allocations: 19.98 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.541e-05/0.3851, allocations: 4.141 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.3853, allocations: 32.06 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.3853, allocations: 11.98 kB / 1.326 GB, free: 13.32 MB / 1.029 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.0001154/0.3855, allocations: 125.8 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.3855, allocations: 7.891 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.3855, allocations: 12.38 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3855, allocations: 3.938 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3855, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3855, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3857, allocations: 209.5 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3857, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.3858, allocations: 11.98 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3858, allocations: 3.938 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3858, allocations: 4 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3858, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3858, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3861, allocations: 137 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.3862, allocations: 85.06 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3862, allocations: 3.938 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.3863, allocations: 7.984 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.3863, allocations: 7.984 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3863, allocations: 8 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.3864, allocations: 91.27 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3864, allocations: 4 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002357/0.3866, allocations: 27.95 kB / 1.327 GB, free: 12.48 MB / 1.029 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.0007134/0.3873, allocations: 0.6903 MB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.3878, allocations: 159.4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3878, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3879, allocations: 31.92 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3881, allocations: 16.09 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3905, allocations: 1.648 MB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3909, allocations: 0.7041 MB / 1.33 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.068e-05/0.3909, allocations: 4.438 kB / 1.33 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.391, allocations: 35.36 kB / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.391, allocations: 0 / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4183, allocations: 2.874 MB / 1.333 GB, free: 6.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.822, allocations: 7.766 kB / 1.333 GB, free: 6.344 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.65598027408123]