Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001514/0.001514, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.2 MB / 0.6646 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8227, allocations: 140.3 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002527/0.8253, allocations: 0.882 MB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.8267, allocations: 1.155 MB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.8268, allocations: 1.094 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.8269, allocations: 12.83 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.781e-05/0.827, allocations: 9.375 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.8275, allocations: 140.9 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.8277, allocations: 162.7 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.8279, allocations: 52.36 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.828, allocations: 59.84 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.8281, allocations: 56.92 kB / 0.9521 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.8282, allocations: 19 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.8283, allocations: 29.08 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.8283, allocations: 15.17 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.8284, allocations: 63.28 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.8286, allocations: 166.5 kB / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8286, allocations: 0 / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8286, allocations: 0 / 0.9524 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.8287, allocations: 4 kB / 0.9524 GB, free: 7.078 MB / 0.7169 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.0006325/0.8293, allocations: 443.7 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8293, allocations: 9.188 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.8294, allocations: 11.78 kB / 0.9528 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.8299, allocations: 232.2 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.8299, allocations: 17.2 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.8299, allocations: 13.84 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.8302, allocations: 93.44 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.8302, allocations: 5.094 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.8302, allocations: 4 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.8302, allocations: 2.812 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.8305, allocations: 62.92 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.831, allocations: 404 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.8312, allocations: 65.67 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.8313, allocations: 37.55 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.8313, allocations: 5.125 kB / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.8316, allocations: 86.14 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.8316, allocations: 0 / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004733/0.8321, allocations: 139.8 kB / 0.954 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.8321, allocations: 52.75 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.8322, allocations: 138.6 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.8323, allocations: 27.95 kB / 0.9542 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.8323, allocations: 110.7 kB / 0.9543 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.8324, allocations: 22.56 kB / 0.9543 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.8324, allocations: 41.56 kB / 0.9543 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.8325, allocations: 321.3 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.8327, allocations: 48.52 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.8328, allocations: 76.06 kB / 0.9548 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.8331, allocations: 128.1 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8331, allocations: 9.188 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003868/0.8335, allocations: 190.2 kB / 0.9551 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.8336, allocations: 36.02 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8336, allocations: 8.969 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8336, allocations: 2.031 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.8337, allocations: 26.02 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8338, allocations: 0 / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.834, allocations: 30.95 kB / 0.9552 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.834, allocations: 6.469 kB / 0.9552 GB, free: 4.578 MB / 0.7169 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.823e-05/0.8341, allocations: 120.5 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.8341, allocations: 14.89 kB / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.8341, allocations: 14.53 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8342, allocations: 1.156 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8342, allocations: 0 / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8342, allocations: 1.031 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.8343, allocations: 201.2 kB / 0.9555 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8343, allocations: 1.062 kB / 0.9555 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.8344, allocations: 14.02 kB / 0.9555 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8344, allocations: 3.938 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8344, allocations: 13.28 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8344, allocations: 0 / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8345, allocations: 1.438 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.8347, allocations: 129.8 kB / 0.9557 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.8347, allocations: 83.52 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.8348, allocations: 5.094 kB / 0.9557 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.8348, allocations: 11.36 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.8349, allocations: 7.469 kB / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.8349, allocations: 2.469 kB / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.8349, allocations: 95.02 kB / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.835, allocations: 0 / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002287/0.8352, allocations: 30.66 kB / 0.9559 GB, free: 3.883 MB / 0.7169 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.0001652/0.8354, allocations: 108.1 kB / 0.956 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.8357, allocations: 172.3 kB / 0.9562 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8358, allocations: 1.25 kB / 0.9562 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.8359, allocations: 34.11 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.8361, allocations: 23.75 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.8365, allocations: 210.1 kB / 0.9564 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.8367, allocations: 0.702 MB / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.766e-05/0.8368, allocations: 13.47 kB / 0.9571 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.8368, allocations: 11.22 kB / 0.9571 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8368, allocations: 1.938 kB / 0.9571 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of Templates: time 0.005092/0.8419, allocations: 1.521 MB / 0.9586 GB, free: 1.996 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches