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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009259/0.009259, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001844/0.001845, allocations: 193.6 kB / 16.67 MB, free: 5.91 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.129 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 2.796/2.796, allocations: 437 MB / 0.7105 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3727, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002778/0.3756, allocations: 0.8849 MB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3779, allocations: 1.167 MB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3781, allocations: 4 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.324e-05/0.3782, allocations: 7.875 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3783, allocations: 11.86 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.3791, allocations: 147.3 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3793, allocations: 163.6 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.3795, allocations: 45.58 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3797, allocations: 59.84 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3798, allocations: 63.78 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3799, allocations: 12 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.38, allocations: 35.92 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.38, allocations: 23.92 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3801, allocations: 59.7 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3804, allocations: 167.4 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3804, allocations: 4 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.486e-06/0.3804, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.3804, allocations: 3.938 kB / 1.169 GB, free: 3.91 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.0008869/0.3813, allocations: 448.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3814, allocations: 8.031 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.3814, allocations: 12.89 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.382, allocations: 236.3 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.382, allocations: 8.375 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3821, allocations: 12.38 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3823, allocations: 92.03 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3823, allocations: 3.984 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3824, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3824, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.3826, allocations: 71.84 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.3832, allocations: 396.5 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3835, allocations: 58.55 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3836, allocations: 44.95 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3836, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.3839, allocations: 79.38 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.577e-05/0.3839, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000469/0.3844, allocations: 145.6 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3844, allocations: 51.41 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3846, allocations: 135.9 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3846, allocations: 29.7 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.3847, allocations: 111.9 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3847, allocations: 23.8 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.3848, allocations: 41.69 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.385, allocations: 318.8 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3852, allocations: 51.95 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3854, allocations: 75.33 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.3856, allocations: 137 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3856, allocations: 0 / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004268/0.3861, allocations: 191.2 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.3861, allocations: 41.69 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3861, allocations: 7.875 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3862, allocations: 3.984 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3863, allocations: 24.02 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3863, allocations: 4 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.3866, allocations: 27.97 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3866, allocations: 7.984 kB / 1.172 GB, free: 0.793 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.0001138/0.3867, allocations: 121.8 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3867, allocations: 7.953 kB / 1.172 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3868, allocations: 16.31 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3868, allocations: 4 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3868, allocations: 0 / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3868, allocations: 0 / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.387, allocations: 197.6 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.387, allocations: 0 / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.3871, allocations: 20.02 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3871, allocations: 7.938 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3871, allocations: 7.938 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3871, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3872, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.3874, allocations: 133.5 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3875, allocations: 85 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3875, allocations: 7.938 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.234e-05/0.3876, allocations: 3.984 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3877, allocations: 11.98 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3877, allocations: 4 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.3878, allocations: 100.5 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3878, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002561/0.388, allocations: 24 kB / 1.173 GB, free: 15.96 MB / 0.9356 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.0002624/0.3883, allocations: 119.1 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.3887, allocations: 167.3 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3887, allocations: 4.188 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3889, allocations: 39.97 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3891, allocations: 18.61 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.3897, allocations: 198.7 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.3903, allocations: 0.7079 MB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.799e-05/0.3904, allocations: 8.422 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3904, allocations: 11.44 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.3904, allocations: 0 / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.005085/0.3955, allocations: 1.532 MB / 1.176 GB, free: 13.14 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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