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.001994/0.001994, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002438/0.002438, allocations: 164.5 kB / 22.46 MB, free: 5.359 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.585/1.585, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.215e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001936/0.001968, allocations: 0.8482 MB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.003657, allocations: 1.19 MB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.003721, allocations: 0 / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.003765, allocations: 11.86 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.003861, allocations: 27.8 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.004403, allocations: 146.7 kB / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004625, allocations: 151.7 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.004785, allocations: 29.77 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.00495, allocations: 91.86 kB / 0.9839 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.005066, allocations: 47.84 kB / 0.984 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.005106, allocations: 16 kB / 0.984 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.005181, allocations: 24 kB / 0.984 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.005225, allocations: 27.91 kB / 0.984 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.005308, allocations: 47.84 kB / 0.9841 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.005596, allocations: 191.4 kB / 0.9842 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005599, allocations: 4 kB / 0.9843 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.91e-07/0.0056, allocations: 0 / 0.9843 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.005605, allocations: 3.938 kB / 0.9843 GB, free: 9.027 MB / 0.9356 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.0006618/0.006267, allocations: 371.5 kB / 0.9846 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.006311, allocations: 12.03 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.006374, allocations: 8.891 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.006884, allocations: 177.4 kB / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.006906, allocations: 8.375 kB / 0.9848 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.006935, allocations: 12.38 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.007256, allocations: 104.2 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007265, allocations: 192 / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.007279, allocations: 384 / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.00729, allocations: 7.938 kB / 0.9849 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.007531, allocations: 63.95 kB / 0.985 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.008053, allocations: 312.2 kB / 0.9853 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.008242, allocations: 62.53 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.00836, allocations: 36.95 kB / 0.9854 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.008381, allocations: 0 / 0.9854 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.008658, allocations: 91.31 kB / 0.9855 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.00866, allocations: 0 / 0.9855 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004546/0.009114, allocations: 133.8 kB / 0.9856 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.009164, allocations: 51.41 kB / 0.9856 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.009292, allocations: 137.7 kB / 0.9858 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.009319, allocations: 25.7 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.009407, allocations: 119.9 kB / 0.9859 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.009429, allocations: 27.8 kB / 0.9859 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.009508, allocations: 41.69 kB / 0.986 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.009652, allocations: 314.8 kB / 0.9863 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.009833, allocations: 77.66 kB / 0.9864 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.01004, allocations: 109 kB / 0.9865 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.01035, allocations: 137.1 kB / 0.9866 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01035, allocations: 0 / 0.9866 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004998/0.01085, allocations: 220.9 kB / 0.9868 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.01089, allocations: 33.7 kB / 0.9868 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.0109, allocations: 0 / 0.9868 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01091, allocations: 4 kB / 0.9868 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01103, allocations: 19.92 kB / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.01104, allocations: 96 / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.01125, allocations: 47.84 kB / 0.9869 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.01128, allocations: 8 kB / 0.9869 GB, free: 6.074 MB / 0.9356 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.000119/0.0114, allocations: 117.8 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.01142, allocations: 11.94 kB / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.01146, allocations: 12.44 kB / 0.987 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01146, allocations: 0 / 0.987 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01146, allocations: 0 / 0.987 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.01147, allocations: 7.938 kB / 0.9871 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.01169, allocations: 137.3 kB / 0.9872 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01169, allocations: 0 / 0.9872 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.01177, allocations: 15.92 kB / 0.9872 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01178, allocations: 0 / 0.9872 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01179, allocations: 4 kB / 0.9872 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01179, allocations: 0 / 0.9872 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01179, allocations: 0 / 0.9872 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.0121, allocations: 133 kB / 0.9873 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.01211, allocations: 11.89 kB / 0.9873 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01213, allocations: 8 kB / 0.9873 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.01219, allocations: 7.984 kB / 0.9874 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.01223, allocations: 7.922 kB / 0.9874 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.01224, allocations: 4 kB / 0.9874 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.786e-05/0.01232, allocations: 99.27 kB / 0.9875 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01232, allocations: 3.938 kB / 0.9875 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002303/0.01255, allocations: 23.94 kB / 0.9875 GB, free: 5.422 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.0001788/0.01273, allocations: 119.2 kB / 0.9876 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.01315, allocations: 177.5 kB / 0.9878 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01315, allocations: 0 / 0.9878 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.01328, allocations: 48.03 kB / 0.9878 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.01353, allocations: 19.98 kB / 0.9878 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.01396, allocations: 201.9 kB / 0.988 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.01404, allocations: 80.86 kB / 0.9881 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.267e-05/0.01409, allocations: 16.48 kB / 0.9881 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.01413, allocations: 12.5 kB / 0.9881 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.01413, allocations: 0 / 0.9881 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.005079/0.0192, allocations: 1.634 MB / 0.9897 GB, free: 3.125 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.355550792068243]