Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_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_latest_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.008576/0.008577, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001817/0.001817, allocations: 194.5 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.89 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3654, allocations: 157.4 MB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002345/0.3678, allocations: 0.8699 MB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3695, allocations: 1.175 MB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.3696, allocations: 0 / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.3697, allocations: 15.86 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/0.3698, allocations: 7.875 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.3703, allocations: 140.9 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.3706, allocations: 167.6 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3708, allocations: 45.58 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3709, allocations: 71.81 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3711, allocations: 63.75 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.3711, allocations: 15.94 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.3712, allocations: 27.98 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.3712, allocations: 19.92 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.3713, allocations: 67.7 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.3716, allocations: 175.6 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3716, allocations: 0 / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3716, allocations: 0 / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3716, allocations: 0 / 1.21 GB, free: 7.195 MB / 0.9669 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.0007396/0.3724, allocations: 444.8 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3724, allocations: 8.031 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.3725, allocations: 50.72 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.3726, allocations: 16.84 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.3731, allocations: 228.3 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.3731, allocations: 12.38 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3731, allocations: 16.36 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3734, allocations: 93.78 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3734, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3734, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3734, allocations: 4 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.3736, allocations: 70.52 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.3742, allocations: 392.4 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3744, allocations: 66.48 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3745, allocations: 36.95 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3746, allocations: 4 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.3749, allocations: 79.38 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3749, allocations: 3.938 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004472/0.3753, allocations: 149.4 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3754, allocations: 51.41 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3755, allocations: 132.3 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3755, allocations: 33.7 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.3756, allocations: 111.9 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3757, allocations: 19.72 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.3757, allocations: 37.69 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3759, allocations: 314.8 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.376, allocations: 51.95 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3762, allocations: 79.39 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.3765, allocations: 129.1 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3765, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004223/0.3769, allocations: 203.1 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.377, allocations: 39.34 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.377, allocations: 4 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.377, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3771, allocations: 12 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.964e-05/0.3771, allocations: 3.984 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.3774, allocations: 40 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3774, allocations: 8 kB / 1.213 GB, free: 4.035 MB / 0.9669 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.0001035/0.3775, allocations: 125.8 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3775, allocations: 11.84 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.3776, allocations: 8.375 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3776, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3776, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3776, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3777, allocations: 205.6 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3778, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.3778, allocations: 11.98 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.3779, allocations: 3.938 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3779, allocations: 4 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3779, allocations: 4 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3779, allocations: 3.938 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3782, allocations: 136.9 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3782, allocations: 85.02 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3783, allocations: 7.938 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.3783, allocations: 7.984 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3784, allocations: 4 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3784, allocations: 11.97 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.3784, allocations: 99.27 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3784, allocations: 0 / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002264/0.3787, allocations: 31.78 kB / 1.214 GB, free: 3.188 MB / 0.9669 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.0006302/0.3793, allocations: 0.6748 MB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.3797, allocations: 171.3 kB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3797, allocations: 4 kB / 1.214 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3799, allocations: 31.98 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3801, allocations: 25.95 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3822, allocations: 1.63 MB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3825, allocations: 0.7041 MB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.3826, allocations: 4.438 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.3827, allocations: 31.42 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3827, allocations: 0 / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.4041, allocations: 2.901 MB / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.288, allocations: 4.875 kB / 1.22 GB, free: 13.03 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches