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.001613/0.001613, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001847/0.001848, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.234/2.234, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.33 kB / 0.8133 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3046, allocations: 140.4 MB / 0.9503 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002588/0.3072, allocations: 0.8806 MB / 0.9512 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.309, allocations: 1.148 MB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.3091, allocations: 0 / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.3091, allocations: 11.88 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.3093, allocations: 23.78 kB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.3099, allocations: 135.5 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.3101, allocations: 159.7 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3103, allocations: 61.52 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3104, allocations: 55.84 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3106, allocations: 55.75 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.3106, allocations: 16 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.3107, allocations: 31.92 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.3107, allocations: 27.86 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.33e-05/0.3108, allocations: 55.78 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3111, allocations: 171.7 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3111, allocations: 0 / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3111, allocations: 0 / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3111, allocations: 0 / 0.9531 GB, free: 5.98 MB / 0.7325 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.0007665/0.3119, allocations: 444.8 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.312, allocations: 8.031 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.312, allocations: 16.75 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.3126, allocations: 236.3 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.3126, allocations: 16.31 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3127, allocations: 16.31 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3129, allocations: 96.2 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3129, allocations: 0 / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3129, allocations: 8 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.313, allocations: 0 / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.3132, allocations: 67.94 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.3138, allocations: 392.4 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.314, allocations: 70.48 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3142, allocations: 32.97 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.3142, allocations: 3.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3145, allocations: 87.36 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3145, allocations: 0 / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004605/0.3149, allocations: 137.5 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.315, allocations: 51.41 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3151, allocations: 136.3 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3152, allocations: 29.7 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.3153, allocations: 107.9 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.3153, allocations: 23.72 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.3154, allocations: 37.7 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3155, allocations: 322.8 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3157, allocations: 43.97 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.3158, allocations: 71.39 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.3161, allocations: 141 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3161, allocations: 0 / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004465/0.3166, allocations: 199.2 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.3166, allocations: 37.7 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3167, allocations: 3.938 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3167, allocations: 0 / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3168, allocations: 15.98 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3168, allocations: 4 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.317, allocations: 31.89 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3171, allocations: 8.031 kB / 0.9559 GB, free: 2.875 MB / 0.7325 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.0001142/0.3172, allocations: 129.8 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.3172, allocations: 7.906 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.3173, allocations: 16.3 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3173, allocations: 0 / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3173, allocations: 0 / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3173, allocations: 4 kB / 0.956 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.3175, allocations: 197.5 kB / 0.9562 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3175, allocations: 0 / 0.9562 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.3176, allocations: 15.94 kB / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.3176, allocations: 3.984 kB / 0.9562 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3176, allocations: 11.94 kB / 0.9562 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3176, allocations: 0 / 0.9562 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3176, allocations: 4 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3179, allocations: 125 kB / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.318, allocations: 89 kB / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.318, allocations: 7.938 kB / 0.9564 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.3181, allocations: 4 kB / 0.9564 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3181, allocations: 15.97 kB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.3181, allocations: 0 / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.3182, allocations: 95.27 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3182, allocations: 0 / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002468/0.3185, allocations: 35.84 kB / 0.9566 GB, free: 2.031 MB / 0.7325 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.0001689/0.3186, allocations: 111.2 kB / 0.9567 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.3191, allocations: 171.3 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3191, allocations: 0 / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3192, allocations: 39.91 kB / 0.9569 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3195, allocations: 20.95 kB / 0.9569 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.3199, allocations: 227.1 kB / 0.9571 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3202, allocations: 0.6963 MB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.3203, allocations: 15.44 kB / 0.9578 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.3203, allocations: 0 / 0.9578 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of Templates: time 0.003515/0.3238, allocations: 1.438 MB / 0.9592 GB, free: 15.25 MB / 0.7481 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