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.007538/0.007538, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002162/0.002162, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.198/1.198, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.146/2.146, allocations: 437.1 MB / 0.7106 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 72.09 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5769, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001666/0.5786, allocations: 0.8838 MB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.5798, allocations: 1.163 MB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.5799, allocations: 0 / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.5799, allocations: 7.875 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.919e-05/0.58, allocations: 19.8 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.5804, allocations: 150.9 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.5806, allocations: 155.7 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.5807, allocations: 53.55 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.5808, allocations: 63.78 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.5809, allocations: 63.73 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.581, allocations: 12 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.052e-05/0.581, allocations: 35.97 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.5811, allocations: 15.94 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.5811, allocations: 59.72 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.5814, allocations: 175.1 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5814, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5814, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5814, allocations: 7.875 kB / 1.169 GB, free: 0.8789 MB / 0.8887 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.0005613/0.5819, allocations: 452.7 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.582, allocations: 8.625 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.582, allocations: 38.75 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.5821, allocations: 16.89 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.5825, allocations: 225.8 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5825, allocations: 12.38 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.5825, allocations: 12.38 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.5827, allocations: 101.7 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.5828, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5828, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5828, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.583, allocations: 67.91 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.5834, allocations: 388.5 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.5836, allocations: 66.55 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.5837, allocations: 32.95 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.5837, allocations: 7.984 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.5839, allocations: 95.23 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.5839, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003795/0.5843, allocations: 129.7 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.5844, allocations: 51.41 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.5845, allocations: 137.8 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.5845, allocations: 29.7 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.5846, allocations: 116 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.5846, allocations: 19.84 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.5847, allocations: 37.7 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5848, allocations: 322.8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.5849, allocations: 47.97 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5851, allocations: 79.39 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.5853, allocations: 125 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5853, allocations: 4.094 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003704/0.5857, allocations: 203.1 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.5858, allocations: 33.64 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5858, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.5858, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.5859, allocations: 19.97 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.5859, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.5861, allocations: 39.98 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.5861, allocations: 12.39 kB / 1.172 GB, free: 13.72 MB / 0.9044 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 8.383e-05/0.5862, allocations: 117.8 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.5862, allocations: 7.891 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.5862, allocations: 16.36 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5862, allocations: 3.938 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.5862, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5863, allocations: 4 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.5864, allocations: 209.6 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5864, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.5865, allocations: 12 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5865, allocations: 3.938 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5865, allocations: 7.984 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5865, allocations: 3.938 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5865, allocations: 3.984 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.5868, allocations: 125 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.5868, allocations: 89.05 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.5868, allocations: 3.938 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.5869, allocations: 8 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.5869, allocations: 11.92 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.5869, allocations: 0 / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.587, allocations: 101.8 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.587, allocations: 8 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001915/0.5872, allocations: 23.94 kB / 1.173 GB, free: 12.88 MB / 0.9044 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.0005246/0.5877, allocations: 0.6709 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.5881, allocations: 175.3 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5881, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5882, allocations: 39.91 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.5884, allocations: 30.56 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.5902, allocations: 1.631 MB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.5904, allocations: 0.7002 MB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.5905, allocations: 12.42 kB / 1.176 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.5905, allocations: 27.44 kB / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.5905, allocations: 0 / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.288/6.878, allocations: 2.874 MB / 1.179 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/20.78, allocations: 10.98 kB / 1.179 GB, free: 6.742 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.mat","/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