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.00159/0.00159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002378/0.002378, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.602/2.602, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.89 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.9213, allocations: 140.4 MB / 0.9492 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002228/0.9236, allocations: 0.9291 MB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.9251, allocations: 1.144 MB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.9252, allocations: 5.438 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.9253, allocations: 9.172 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.9254, allocations: 13.42 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.9259, allocations: 127.9 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.9262, allocations: 158.5 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.9263, allocations: 51.61 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.9265, allocations: 64.61 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.9266, allocations: 55.59 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.9266, allocations: 18.72 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.9267, allocations: 32.89 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.9268, allocations: 24.36 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.9269, allocations: 58.64 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.9271, allocations: 165.9 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9271, allocations: 1.375 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9271, allocations: 0 / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.9271, allocations: 0 / 0.952 GB, free: 6.883 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.0006991/0.9278, allocations: 435.1 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.9279, allocations: 13.91 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.928, allocations: 15.39 kB / 0.9524 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.9284, allocations: 231.4 kB / 0.9526 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.9285, allocations: 9.609 kB / 0.9526 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.9285, allocations: 14.5 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.9288, allocations: 92.67 kB / 0.9527 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9288, allocations: 4 kB / 0.9527 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9288, allocations: 5.281 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.9288, allocations: 2.469 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.929, allocations: 62.98 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.9296, allocations: 399.9 kB / 0.9532 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.9298, allocations: 68.98 kB / 0.9532 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.9299, allocations: 34.44 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.93, allocations: 1.406 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.9302, allocations: 90.02 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.9303, allocations: 0 / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004405/0.9307, allocations: 134.6 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.9307, allocations: 53.28 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.9309, allocations: 138.5 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.9309, allocations: 31.17 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.9309, allocations: 106.8 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.931, allocations: 26.67 kB / 0.9538 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.931, allocations: 37.36 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.9311, allocations: 320.1 kB / 0.9542 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.9312, allocations: 45.31 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.9314, allocations: 80.83 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.9317, allocations: 128 kB / 0.9544 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9317, allocations: 4 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003877/0.9321, allocations: 198.9 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.9321, allocations: 36.94 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9321, allocations: 5.344 kB / 0.9547 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9321, allocations: 1.344 kB / 0.9547 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.9323, allocations: 15.2 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.9323, allocations: 1.25 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.9325, allocations: 32 kB / 0.9547 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.9325, allocations: 18.05 kB / 0.9547 GB, free: 4.395 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.374e-05/0.9326, allocations: 117.2 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.9326, allocations: 7.188 kB / 0.9548 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.9326, allocations: 13.56 kB / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.9327, allocations: 1.219 kB / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9327, allocations: 1.188 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9327, allocations: 7.984 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.9328, allocations: 193.3 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9328, allocations: 1.125 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.9329, allocations: 17.2 kB / 0.9551 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9329, allocations: 9.172 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.9329, allocations: 8.969 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9329, allocations: 0 / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9329, allocations: 1.469 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.9332, allocations: 134.4 kB / 0.9552 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.9333, allocations: 83.05 kB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.9333, allocations: 5.656 kB / 0.9553 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.9333, allocations: 15.39 kB / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.9334, allocations: 7.516 kB / 0.9553 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.9334, allocations: 1.438 kB / 0.9553 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.9335, allocations: 101 kB / 0.9554 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9335, allocations: 4 kB / 0.9554 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002382/0.9337, allocations: 30.19 kB / 0.9554 GB, free: 3.691 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.0001786/0.9339, allocations: 111 kB / 0.9555 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.9343, allocations: 173.3 kB / 0.9557 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9343, allocations: 0 / 0.9557 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.9344, allocations: 46.88 kB / 0.9558 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.9347, allocations: 17.27 kB / 0.9558 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.9351, allocations: 230.9 kB / 0.956 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.9352, allocations: 0.6982 MB / 0.9567 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.697e-05/0.9353, allocations: 8.562 kB / 0.9567 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.9353, allocations: 16.73 kB / 0.9567 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9353, allocations: 0 / 0.9567 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of Templates: time 0.00443/0.9398, allocations: 1.471 MB / 0.9581 GB, free: 1.801 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