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.001465/0.001466, allocations: 106.5 kB / 16.36 MB, free: 5.824 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.00162/0.00162, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.36 kB / 0.8141 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 140.4 MB / 0.9512 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002701/0.2883, allocations: 0.884 MB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2902, allocations: 1.155 MB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.2903, allocations: 4 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.2904, allocations: 7.875 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.2905, allocations: 15.86 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.2912, allocations: 139.6 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.2914, allocations: 159.7 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.2916, allocations: 53.55 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2917, allocations: 59.84 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.2919, allocations: 67.72 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.2919, allocations: 16 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.292, allocations: 27.98 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.2921, allocations: 23.92 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.2922, allocations: 55.78 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2924, allocations: 175.3 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2924, allocations: 0 / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.18e-06/0.2924, allocations: 4 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2924, allocations: 0 / 0.9539 GB, free: 5.125 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.0006661/0.2931, allocations: 444.8 kB / 0.9544 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.2932, allocations: 12.03 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.2932, allocations: 16.75 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.2937, allocations: 228.3 kB / 0.9546 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.2938, allocations: 8.328 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2938, allocations: 20.36 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.294, allocations: 95 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2941, allocations: 0 / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2941, allocations: 4 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2941, allocations: 0 / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.2943, allocations: 67.94 kB / 0.9548 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.2949, allocations: 396.4 kB / 0.9552 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2951, allocations: 74.48 kB / 0.9553 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2952, allocations: 28.97 kB / 0.9553 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2952, allocations: 7.938 kB / 0.9553 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.2955, allocations: 83.36 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.2955, allocations: 4 kB / 0.9554 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004321/0.2959, allocations: 129.4 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.296, allocations: 59.39 kB / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2961, allocations: 124.2 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.2961, allocations: 37.69 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.2962, allocations: 111.9 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.2962, allocations: 19.7 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.2963, allocations: 41.7 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2964, allocations: 322.8 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2966, allocations: 43.97 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2967, allocations: 83.27 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.297, allocations: 129 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.297, allocations: 0 / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003929/0.2974, allocations: 199.1 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.2974, allocations: 37.8 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.2975, allocations: 3.938 kB / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2975, allocations: 0 / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2976, allocations: 15.98 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2976, allocations: 4 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2978, allocations: 35.89 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.2978, allocations: 12 kB / 0.9567 GB, free: 2.016 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.0001014/0.2979, allocations: 127.8 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.298, allocations: 8 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.298, allocations: 20.23 kB / 0.9569 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.298, allocations: 0 / 0.9569 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.298, allocations: 0 / 0.9569 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.298, allocations: 4 kB / 0.9569 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2982, allocations: 205.5 kB / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2982, allocations: 0 / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.2983, allocations: 8 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2983, allocations: 4 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2983, allocations: 11.92 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2983, allocations: 0 / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2983, allocations: 0 / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.2986, allocations: 121.4 kB / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.2987, allocations: 85.02 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2987, allocations: 7.922 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.2988, allocations: 12 kB / 0.9573 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.2988, allocations: 7.984 kB / 0.9573 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2989, allocations: 3.984 kB / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.002e-05/0.2989, allocations: 99.27 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2989, allocations: 4 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002394/0.2992, allocations: 27.84 kB / 0.9574 GB, free: 1.18 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.0002154/0.2994, allocations: 107.2 kB / 0.9575 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.2998, allocations: 179.3 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2999, allocations: 3.938 kB / 0.9577 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3, allocations: 35.91 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3002, allocations: 25.3 kB / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.3007, allocations: 191 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.3012, allocations: 0.7002 MB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.542e-05/0.3012, allocations: 12.42 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.3013, allocations: 11.44 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.3013, allocations: 0 / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of Templates: time 0.005505/0.3068, allocations: 1.516 MB / 0.9601 GB, free: 14.38 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 -s gbode -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