Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001132/0.001132, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.196/1.196, 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 11.0.1-master/package.mo): time 2.333/2.333, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.09 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6903, allocations: 157.4 MB / 1.209 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.002033/0.6924, allocations: 1.182 MB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.6934, allocations: 0.9988 MB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.6935, allocations: 7.938 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.6937, allocations: 23.67 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.6937, allocations: 23.73 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.6939, allocations: 111.8 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.6942, allocations: 243.4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.6944, allocations: 131.5 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.6945, allocations: 79.66 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.6946, allocations: 95.48 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.6946, allocations: 24 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/0.6947, allocations: 24 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.6947, allocations: 47.84 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.6948, allocations: 107.5 kB / 1.212 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.6951, allocations: 330.6 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6951, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6951, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6951, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006381/0.6958, allocations: 0.5009 MB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.6958, allocations: 12.03 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.6959, allocations: 24.66 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.6963, allocations: 289.8 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.6963, allocations: 16.81 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.6963, allocations: 20.38 kB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.6967, allocations: 218.3 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6967, allocations: 192 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.6968, allocations: 15.94 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6968, allocations: 4 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.6971, allocations: 165 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.698, allocations: 0.6972 MB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.6982, allocations: 98.42 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.6983, allocations: 48.83 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.6983, allocations: 0 / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6984, allocations: 38.56 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.6984, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004396/0.6988, allocations: 173.5 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.6989, allocations: 51.41 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.699, allocations: 223 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6991, allocations: 29.7 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.6992, allocations: 155.8 kB / 1.215 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.6992, allocations: 31.55 kB / 1.215 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.6993, allocations: 41.64 kB / 1.215 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6994, allocations: 326.8 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.6995, allocations: 47.97 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.6997, allocations: 85.03 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.6999, allocations: 145 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6999, allocations: 0 / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003436/0.7003, allocations: 181.5 kB / 1.215 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7003, allocations: 7.938 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7003, allocations: 4 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7003, allocations: 0 / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.7005, allocations: 39.91 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7005, allocations: 4 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.7006, allocations: 23.83 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.7006, allocations: 4 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.7007, allocations: 133.8 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.7008, allocations: 19.75 kB / 1.216 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.7011, allocations: 162.9 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7011, allocations: 0 / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7012, allocations: 0 / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.7012, allocations: 4 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.7018, allocations: 0.5205 MB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7018, allocations: 3.938 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.7019, allocations: 23.98 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.7019, allocations: 4 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.702, allocations: 4 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.702, allocations: 4 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.702, allocations: 96 / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.7023, allocations: 265.6 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.7024, allocations: 104.8 kB / 1.217 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.7024, allocations: 4 kB / 1.217 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.7025, allocations: 19.98 kB / 1.217 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.7026, allocations: 7.984 kB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.7026, allocations: 8 kB / 1.217 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001215/0.7027, allocations: 160.6 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7027, allocations: 0 / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002544/0.703, allocations: 35.91 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001062/0.7031, allocations: 111.2 kB / 1.217 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.7034, allocations: 115.9 kB / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7034, allocations: 0 / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.7035, allocations: 59.84 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.7039, allocations: 36.47 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.7044, allocations: 356.5 kB / 1.218 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.7047, allocations: 0.732 MB / 1.218 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.7047, allocations: 27.38 kB / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7048, allocations: 0 / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of Templates: time 0.003397/0.7082, allocations: 2.242 MB / 1.22 GB, free: 0.9453 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches