Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0008257/0.0008255, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005973/0.005973, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.598/1.598, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.153/3.153, allocations: 470.6 MB / 0.7442 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 14.17 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4171, allocations: 161.4 MB / 1.07 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00141/0.4186, allocations: 0.5901 MB / 1.071 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.4204, allocations: 1.166 MB / 1.072 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.4205, allocations: 4 kB / 1.072 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.4205, allocations: 3.938 kB / 1.072 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.4206, allocations: 15.84 kB / 1.072 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.4212, allocations: 135.1 kB / 1.072 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.4214, allocations: 131.7 kB / 1.072 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4216, allocations: 49.55 kB / 1.072 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.4217, allocations: 51.78 kB / 1.072 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.4218, allocations: 43.77 kB / 1.072 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.4219, allocations: 8 kB / 1.072 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.422, allocations: 23.97 kB / 1.072 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.422, allocations: 11.92 kB / 1.072 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4221, allocations: 77.42 kB / 1.072 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.4224, allocations: 159.8 kB / 1.072 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4224, allocations: 0 / 1.072 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4224, allocations: 0 / 1.072 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.4224, allocations: 4 kB / 1.072 GB, free: 8.859 MB / 0.8262 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.0007052/0.4231, allocations: 420.9 kB / 1.073 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4232, allocations: 12.03 kB / 1.073 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.4232, allocations: 8.844 kB / 1.073 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.4238, allocations: 244.3 kB / 1.073 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4238, allocations: 12.36 kB / 1.073 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4238, allocations: 16.38 kB / 1.073 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.4241, allocations: 91.34 kB / 1.073 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4241, allocations: 4 kB / 1.073 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4241, allocations: 7.984 kB / 1.073 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4241, allocations: 0 / 1.073 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.4244, allocations: 71.95 kB / 1.073 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.425, allocations: 404.3 kB / 1.074 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4252, allocations: 70.48 kB / 1.074 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4254, allocations: 44.95 kB / 1.074 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4254, allocations: 0 / 1.074 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.4257, allocations: 87.36 kB / 1.074 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.4257, allocations: 0 / 1.074 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004771/0.4261, allocations: 153.4 kB / 1.074 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4262, allocations: 51.41 kB / 1.074 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4264, allocations: 133.7 kB / 1.074 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4264, allocations: 29.7 kB / 1.074 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.4265, allocations: 111.9 kB / 1.074 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.4265, allocations: 23.7 kB / 1.074 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.4266, allocations: 25.7 kB / 1.074 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4268, allocations: 318.8 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.4269, allocations: 51.97 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.4271, allocations: 79.39 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.4274, allocations: 137 kB / 1.075 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4275, allocations: 0 / 1.075 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004467/0.4279, allocations: 199.1 kB / 1.075 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.428, allocations: 41.69 kB / 1.075 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.428, allocations: 8.031 kB / 1.075 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.428, allocations: 7.938 kB / 1.075 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4281, allocations: 15.98 kB / 1.075 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4281, allocations: 0 / 1.075 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.4284, allocations: 47.91 kB / 1.075 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.4284, allocations: 16.02 kB / 1.075 GB, free: 5.703 MB / 0.8262 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.0001266/0.4285, allocations: 121.8 kB / 1.075 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.4286, allocations: 7.906 kB / 1.075 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4286, allocations: 16.31 kB / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4286, allocations: 0 / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4286, allocations: 0 / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4286, allocations: 3.984 kB / 1.075 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.4288, allocations: 189.6 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4289, allocations: 4 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.4289, allocations: 15.98 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.429, allocations: 4 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.429, allocations: 7.938 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.429, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.429, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.4293, allocations: 144.9 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.4294, allocations: 85.02 kB / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4294, allocations: 3.938 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.4295, allocations: 15.98 kB / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4295, allocations: 7.984 kB / 1.076 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.4295, allocations: 11.98 kB / 1.076 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.4296, allocations: 96.95 kB / 1.076 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4296, allocations: 0 / 1.076 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002391/0.4298, allocations: 35.84 kB / 1.076 GB, free: 4.852 MB / 0.8262 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.0001986/0.43, allocations: 107.2 kB / 1.076 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.4305, allocations: 175.3 kB / 1.076 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4305, allocations: 0 / 1.076 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4307, allocations: 47.91 kB / 1.076 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4309, allocations: 15.98 kB / 1.076 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.4314, allocations: 231.6 kB / 1.076 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4318, allocations: 0.7082 MB / 1.077 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.4319, allocations: 4.438 kB / 1.077 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.4319, allocations: 15.44 kB / 1.077 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.4319, allocations: 0 / 1.077 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.004812/0.4368, allocations: 1.413 MB / 1.079 GB, free: 2.117 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches