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.002025/0.002025, allocations: 112.6 kB / 16.37 MB, free: 6 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.002306/0.002306, allocations: 196 kB / 17.31 MB, free: 5.613 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.18 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.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 62.05 kB / 0.8141 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 140.4 MB / 0.9512 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002254/0.3205, allocations: 0.884 MB / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.322, allocations: 1.148 MB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.3221, allocations: 8 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.3221, allocations: 7.875 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.3222, allocations: 11.81 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.3227, allocations: 139.5 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.3229, allocations: 163.7 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3231, allocations: 49.56 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.3232, allocations: 55.84 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3233, allocations: 67.72 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.3233, allocations: 16 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.3234, allocations: 31.94 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.3234, allocations: 19.92 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.3235, allocations: 63.7 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3238, allocations: 171.4 kB / 0.954 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3238, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3238, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3238, allocations: 0 / 0.954 GB, free: 5.152 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.0006224/0.3244, allocations: 444.8 kB / 0.9544 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3245, allocations: 16.03 kB / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3245, allocations: 16.75 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3249, allocations: 224.3 kB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.325, allocations: 20.27 kB / 0.9546 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.325, allocations: 8.375 kB / 0.9546 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3252, allocations: 97.95 kB / 0.9547 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3252, allocations: 7.984 kB / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3253, allocations: 0 / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3253, allocations: 4 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.3255, allocations: 71.88 kB / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.326, allocations: 396.4 kB / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3262, allocations: 66.55 kB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3263, allocations: 32.97 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3263, allocations: 0 / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.3265, allocations: 83.36 kB / 0.9554 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 5.19e-06/0.3266, allocations: 4 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004159/0.327, allocations: 141.3 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.327, allocations: 55.41 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.3271, allocations: 125.8 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3272, allocations: 29.7 kB / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.3272, allocations: 115.9 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.3273, allocations: 23.7 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.3273, allocations: 33.7 kB / 0.9559 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.3274, allocations: 322.8 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3276, allocations: 43.97 kB / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3278, allocations: 83.33 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.328, allocations: 129 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.328, allocations: 0 / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003964/0.3284, allocations: 191.3 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.3285, allocations: 45.72 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3285, allocations: 3.938 kB / 0.9567 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3285, allocations: 4 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3286, allocations: 19.92 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3287, allocations: 0 / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3288, allocations: 35.91 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3289, allocations: 7.984 kB / 0.9567 GB, free: 2.035 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 9.917e-05/0.329, allocations: 121.8 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.329, allocations: 7.906 kB / 0.9569 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.329, allocations: 16.31 kB / 0.9569 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3291, allocations: 4 kB / 0.9569 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3291, allocations: 0 / 0.9569 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3291, allocations: 3.984 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3292, allocations: 197.5 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3293, allocations: 0 / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.3293, allocations: 19.92 kB / 0.9571 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3293, allocations: 4 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3294, allocations: 3.938 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3294, allocations: 0 / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3294, allocations: 3.984 kB / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3296, allocations: 125.4 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3297, allocations: 81.02 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3297, allocations: 11.94 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.3298, allocations: 7.984 kB / 0.9573 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3298, allocations: 7.984 kB / 0.9573 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3298, allocations: 4 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.3299, allocations: 102.4 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3299, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002287/0.3301, allocations: 27.84 kB / 0.9574 GB, free: 1.207 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.0001589/0.3303, allocations: 115.2 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003613/0.3307, allocations: 175.3 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3307, allocations: 0 / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3308, allocations: 39.97 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.331, allocations: 23.92 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.3314, allocations: 191.1 kB / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3317, allocations: 0.6963 MB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.061e-05/0.3318, allocations: 12.42 kB / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.3318, allocations: 19.42 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3318, allocations: 0 / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of Templates: time 0.00445/0.3363, allocations: 1.525 MB / 0.9602 GB, free: 14.4 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 cvode -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