Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 172.9 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 103.8 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2807, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.285, allocations: 151.8 MB / 1.361 GB, free: 17.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.286, allocations: 82.42 kB / 1.361 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02113/1.307, allocations: 9.103 MB / 1.37 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.307, allocations: 0 / 1.37 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-05/1.307, allocations: 11.47 kB / 1.37 GB, free: 32.86 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001454/1.308, allocations: 0.7602 MB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.308, allocations: 7.875 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/1.309, allocations: 76.88 kB / 1.37 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/1.309, allocations: 408.2 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/1.309, allocations: 15.5 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.31, allocations: 34.91 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005926/1.31, allocations: 282.1 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/1.311, allocations: 398 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.311, allocations: 3.938 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/1.311, allocations: 0 / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/1.311, allocations: 18.91 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/1.313, allocations: 1.525 MB / 1.373 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/1.314, allocations: 0.5192 MB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/1.314, allocations: 213.8 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/1.314, allocations: 4.094 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/1.315, allocations: 189.4 kB / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.525e-06/1.315, allocations: 0 / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004837/1.315, allocations: 286.2 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.315, allocations: 110.1 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/1.315, allocations: 299.3 kB / 1.375 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/1.315, allocations: 29.58 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/1.316, allocations: 263 kB / 1.375 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/1.316, allocations: 106.4 kB / 1.375 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.316, allocations: 3.844 kB / 1.375 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.316, allocations: 347.7 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/1.316, allocations: 109.1 kB / 1.375 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/1.316, allocations: 182.5 kB / 1.376 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/1.317, allocations: 139.3 kB / 1.376 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.317, allocations: 0 / 1.376 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000615/1.317, allocations: 374.6 kB / 1.376 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/1.317, allocations: 478.8 kB / 1.376 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.317, allocations: 3.938 kB / 1.376 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.317, allocations: 3.875 kB / 1.376 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.318, allocations: 88.48 kB / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.318, allocations: 11.69 kB / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/1.318, allocations: 97.81 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/1.318, allocations: 11.78 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/1.318, allocations: 3.906 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004994/1.319, allocations: 287.4 kB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.319, allocations: 0 / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/1.319, allocations: 7.062 kB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/1.319, allocations: 73.81 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.319, allocations: 3.812 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/1.319, allocations: 74.14 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/1.32, allocations: 17 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.32, allocations: 118.9 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/1.32, allocations: 41.91 kB / 1.377 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.659e-05/1.32, allocations: 36.42 kB / 1.377 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.32, allocations: 7.844 kB / 1.377 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.32, allocations: 0 / 1.377 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.32, allocations: 6.266 kB / 1.377 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.321, allocations: 0.8721 MB / 1.378 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.321, allocations: 0 / 1.378 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/1.321, allocations: 89.11 kB / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.321, allocations: 3.844 kB / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.321, allocations: 0 / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.321, allocations: 0 / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.321, allocations: 3.812 kB / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/1.322, allocations: 0.5443 MB / 1.379 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/1.322, allocations: 120.1 kB / 1.379 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/1.322, allocations: 11.14 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/1.322, allocations: 32.72 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/1.322, allocations: 27.42 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/1.322, allocations: 7.719 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002343/1.323, allocations: 231.8 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.323, allocations: 0 / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005574/1.323, allocations: 182.2 kB / 1.379 GB, free: 28.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/1.323, allocations: 134.6 kB / 1.38 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007508/1.324, allocations: 0.5707 MB / 1.38 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.324, allocations: 0 / 1.38 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.324, allocations: 137.6 kB / 1.38 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/1.325, allocations: 89.36 kB / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/1.326, allocations: 0.5838 MB / 1.381 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/1.327, allocations: 0.8538 MB / 1.382 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003148/1.327, allocations: 56.25 kB / 1.382 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/1.327, allocations: 26.62 kB / 1.382 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.327, allocations: 4 kB / 1.382 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.009793/1.337, allocations: 5.332 MB / 1.387 GB, free: 25.87 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches