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.008969/0.008969, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001343/0.001343, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.952/2.952, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3243, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002195/0.3265, allocations: 0.877 MB / 1.168 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3281, allocations: 1.163 MB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.3282, allocations: 4 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.3283, allocations: 11.86 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.3284, allocations: 7.875 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.329, allocations: 154.8 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3292, allocations: 155.7 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3294, allocations: 45.56 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3295, allocations: 63.83 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3296, allocations: 59.81 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.3297, allocations: 16 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.3298, allocations: 27.92 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.3298, allocations: 27.91 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.188e-05/0.3299, allocations: 59.72 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3302, allocations: 171.4 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3302, allocations: 4 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.661e-06/0.3302, allocations: 0 / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3302, allocations: 3.938 kB / 1.169 GB, free: 3.945 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.0007248/0.3309, allocations: 448.7 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.331, allocations: 11.98 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.3311, allocations: 12.89 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.3316, allocations: 236.3 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3316, allocations: 4.375 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.3316, allocations: 12.38 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.3319, allocations: 97.95 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3319, allocations: 4 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3319, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.3319, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3322, allocations: 79.83 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.3327, allocations: 388.5 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.333, allocations: 66.55 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3331, allocations: 32.97 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3331, allocations: 3.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.3334, allocations: 95.33 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3334, allocations: 0 / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004552/0.3339, allocations: 137.6 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3339, allocations: 55.41 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3341, allocations: 135.6 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3341, allocations: 29.7 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.3342, allocations: 108 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3342, allocations: 23.78 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.3343, allocations: 37.7 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3344, allocations: 322.8 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3346, allocations: 51.95 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3348, allocations: 75.41 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.335, allocations: 133 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.335, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004387/0.3355, allocations: 199.5 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.3355, allocations: 33.7 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3356, allocations: 7.875 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3356, allocations: 4 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3357, allocations: 24.02 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3357, allocations: 80 / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3359, allocations: 31.95 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.336, allocations: 11.98 kB / 1.172 GB, free: 0.8203 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.0001122/0.3361, allocations: 121.8 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.3361, allocations: 8.047 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.3362, allocations: 20.25 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3362, allocations: 4 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3362, allocations: 0 / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3362, allocations: 0 / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3364, allocations: 197.6 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3364, allocations: 0 / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.3365, allocations: 19.98 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3365, allocations: 0 / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3365, allocations: 3.938 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3365, allocations: 3.938 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3365, allocations: 0 / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3368, allocations: 137 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.3369, allocations: 89 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3369, allocations: 3.938 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.337, allocations: 11.98 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.337, allocations: 4 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.337, allocations: 0 / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.3371, allocations: 105.8 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3371, allocations: 0 / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002512/0.3374, allocations: 28.03 kB / 1.173 GB, free: 15.98 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.0001791/0.3375, allocations: 109.8 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3379, allocations: 167.2 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.338, allocations: 4.188 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3381, allocations: 35.92 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3383, allocations: 19.98 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.3388, allocations: 210.7 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3391, allocations: 0.704 MB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3391, allocations: 4.438 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.3392, allocations: 15.44 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.3392, allocations: 0 / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of Templates: time 0.004429/0.3436, allocations: 1.529 MB / 1.176 GB, free: 13.17 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