Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00163/0.001638, allocations: 105.2 kB / 16.35 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.001911/0.001911, allocations: 190.5 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.91 kB / 0.8774 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3177, allocations: 153 MB / 1.027 GB, free: 1.957 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002345/0.3201, allocations: 0.8838 MB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3216, allocations: 1.171 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.3217, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.3217, allocations: 15.86 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.3218, allocations: 11.81 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.3223, allocations: 143.2 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3226, allocations: 159.7 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3227, allocations: 53.55 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3228, allocations: 59.83 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3229, allocations: 63.73 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.323, allocations: 16 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.3231, allocations: 31.98 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3231, allocations: 23.92 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.3232, allocations: 67.64 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3234, allocations: 167.4 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3234, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3234, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3234, allocations: 4 kB / 1.03 GB, free: 15.09 MB / 0.8106 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.0005987/0.324, allocations: 436.9 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3241, allocations: 12.03 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3241, allocations: 16.75 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.3246, allocations: 228.3 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.3246, allocations: 12.31 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.3247, allocations: 16.38 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.3249, allocations: 95.67 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3249, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.325, allocations: 8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.325, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.3252, allocations: 59.95 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.3257, allocations: 400.3 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3259, allocations: 70.48 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.326, allocations: 40.89 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.326, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.3263, allocations: 91.34 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3263, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.3267, allocations: 137.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3268, allocations: 59.34 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3269, allocations: 132.1 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3269, allocations: 25.7 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.327, allocations: 111.9 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.327, allocations: 23.7 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.3271, allocations: 37.7 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3272, allocations: 322.8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3273, allocations: 43.97 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3275, allocations: 75.39 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.3278, allocations: 133.1 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3278, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003956/0.3282, allocations: 195.1 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.3283, allocations: 37.8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3283, allocations: 7.938 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3283, allocations: 4 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3284, allocations: 15.98 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3284, allocations: 0 / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3286, allocations: 39.8 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3286, allocations: 8 kB / 1.032 GB, free: 11.98 MB / 0.8106 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.0001028/0.3288, allocations: 129.7 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.3288, allocations: 7.906 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.3288, allocations: 20.3 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3288, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3288, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3288, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.329, allocations: 197.6 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.329, allocations: 0 / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.3291, allocations: 15.94 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3291, allocations: 3.984 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3291, allocations: 11.94 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3291, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3291, allocations: 4 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3294, allocations: 124.9 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.3295, allocations: 89 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3295, allocations: 3.938 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.3296, allocations: 8 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.3296, allocations: 11.98 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3296, allocations: 3.984 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.3297, allocations: 98.36 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3297, allocations: 0 / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002294/0.33, allocations: 31.94 kB / 1.033 GB, free: 11.14 MB / 0.8106 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.000157/0.3301, allocations: 111.2 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.3305, allocations: 167.3 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3305, allocations: 0 / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3306, allocations: 47.84 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3309, allocations: 15.98 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.3313, allocations: 199.2 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3316, allocations: 0.7001 MB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.396e-05/0.3316, allocations: 12.42 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.3317, allocations: 11.44 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3317, allocations: 0 / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of Templates: time 0.004263/0.336, allocations: 1.518 MB / 1.036 GB, free: 8.344 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches