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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008089/0.008089, allocations: 101.5 kB / 15.88 MB, free: 6.328 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.001955/0.001955, allocations: 199.1 kB / 16.79 MB, free: 6.254 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.88 kB / 0.8126 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8172, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002127/0.8193, allocations: 0.9331 MB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.8207, allocations: 1.157 MB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.8208, allocations: 1.375 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.8209, allocations: 7.938 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.821, allocations: 13.23 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.8214, allocations: 126.9 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.8215, allocations: 144.2 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.8217, allocations: 50.05 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.8218, allocations: 59.09 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.8219, allocations: 56.36 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.8219, allocations: 8.312 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.822, allocations: 23.52 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.822, allocations: 18.7 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.8221, allocations: 52.28 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.8222, allocations: 121.2 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8222, allocations: 5.375 kB / 0.9524 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.42e-07/0.8222, allocations: 0 / 0.9524 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8222, allocations: 0 / 0.9524 GB, free: 7.059 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.0005412/0.8228, allocations: 438.8 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8228, allocations: 9.344 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.8229, allocations: 13 kB / 0.9528 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.8233, allocations: 243 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.8234, allocations: 9.266 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.8234, allocations: 12.88 kB / 0.953 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.8236, allocations: 90.98 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.8236, allocations: 0 / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.8236, allocations: 9.141 kB / 0.9531 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.8237, allocations: 6.578 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.8239, allocations: 67.7 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.8243, allocations: 387.1 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.8245, allocations: 69.27 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.8246, allocations: 38.48 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.8246, allocations: 1.25 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.8249, allocations: 81.03 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.8249, allocations: 5.375 kB / 0.9538 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004166/0.8253, allocations: 142.3 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.8253, allocations: 52.75 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.8254, allocations: 134.8 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8254, allocations: 28.08 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.8255, allocations: 110.3 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.8255, allocations: 26.22 kB / 0.9542 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.8256, allocations: 37.27 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.8256, allocations: 321.4 kB / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.8258, allocations: 48.8 kB / 0.9546 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.8259, allocations: 72.38 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.8262, allocations: 140.4 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8262, allocations: 0 / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003739/0.8266, allocations: 198.8 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.8266, allocations: 38.3 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.8266, allocations: 5.031 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8266, allocations: 1.531 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8268, allocations: 16.48 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8268, allocations: 1.031 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.827, allocations: 31.7 kB / 0.9551 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.827, allocations: 14.25 kB / 0.9551 GB, free: 4.566 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 7.535e-05/0.8271, allocations: 120.3 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.8271, allocations: 8.25 kB / 0.9552 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.8271, allocations: 17.58 kB / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.8271, allocations: 1.188 kB / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8272, allocations: 0 / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8272, allocations: 1.906 kB / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.8273, allocations: 201.6 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8273, allocations: 0 / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.8274, allocations: 14.14 kB / 0.9555 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8274, allocations: 4 kB / 0.9555 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8274, allocations: 9.156 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8274, allocations: 0 / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.8274, allocations: 1.344 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.8277, allocations: 130.7 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.8277, allocations: 87.12 kB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.8277, allocations: 9.031 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.8278, allocations: 3.312 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.8278, allocations: 11.2 kB / 0.9557 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.8278, allocations: 5.938 kB / 0.9557 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.8279, allocations: 96.11 kB / 0.9558 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8279, allocations: 0 / 0.9558 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002325/0.8281, allocations: 33.41 kB / 0.9558 GB, free: 3.867 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.000139/0.8283, allocations: 113.1 kB / 0.956 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.8286, allocations: 163.8 kB / 0.9561 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8286, allocations: 3.938 kB / 0.9561 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.8287, allocations: 43.41 kB / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.829, allocations: 20 kB / 0.9562 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.8294, allocations: 256.5 kB / 0.9564 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.8295, allocations: 0.6987 MB / 0.9571 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.8295, allocations: 16.36 kB / 0.9571 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.8295, allocations: 0 / 0.9571 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.002923/0.8325, allocations: 1.431 MB / 0.9585 GB, free: 1.949 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/jenkins1/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