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.006015/0.006015, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.001138/0.001139, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.343/1.343, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.88 kB / 1.054 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.002467/1.176, allocations: 1.169 MB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001412/1.178, allocations: 1.003 MB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/1.178, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/1.178, allocations: 23.67 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/1.178, allocations: 35.66 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/1.179, allocations: 103.8 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/1.179, allocations: 239.5 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/1.179, allocations: 131.5 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/1.179, allocations: 79.7 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/1.179, allocations: 99.42 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/1.179, allocations: 24 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/1.179, allocations: 31.94 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/1.179, allocations: 51.83 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/1.18, allocations: 103.5 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/1.18, allocations: 330.6 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.18, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/1.18, allocations: 4 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.18, allocations: 0 / 1.211 GB, free: 10.19 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.0007773/1.181, allocations: 0.5009 MB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.181, allocations: 8.031 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/1.181, allocations: 28.66 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/1.181, allocations: 276.3 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/1.181, allocations: 16.81 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.181, allocations: 16.38 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/1.182, allocations: 234.2 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.182, allocations: 192 / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/1.182, allocations: 11.94 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.182, allocations: 4 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/1.182, allocations: 157 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/1.183, allocations: 0.7049 MB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/1.183, allocations: 94.48 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/1.184, allocations: 44.83 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/1.184, allocations: 8 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.184, allocations: 34.56 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/1.184, allocations: 3.984 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.00046/1.184, allocations: 169.5 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.184, allocations: 51.41 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/1.184, allocations: 223 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.184, allocations: 33.7 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/1.184, allocations: 159.8 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/1.185, allocations: 27.56 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/1.185, allocations: 34.08 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.185, allocations: 326.8 kB / 1.214 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/1.185, allocations: 43.97 kB / 1.214 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.185, allocations: 103.1 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/1.185, allocations: 141 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.185, allocations: 0 / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003539/1.186, allocations: 184.4 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.186, allocations: 7.938 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.186, allocations: 4 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.186, allocations: 4.156 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/1.186, allocations: 39.92 kB / 1.215 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.186, allocations: 4 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.186, allocations: 19.83 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.186, allocations: 4 kB / 1.215 GB, free: 6.25 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.0001097/1.186, allocations: 125.8 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/1.186, allocations: 23.69 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/1.187, allocations: 166.9 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.187, allocations: 0 / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.187, allocations: 0 / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.187, allocations: 0 / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/1.187, allocations: 0.5203 MB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.187, allocations: 4 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/1.187, allocations: 23.92 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/1.187, allocations: 7.984 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.187, allocations: 0 / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.187, allocations: 4 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.187, allocations: 4 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/1.188, allocations: 269.6 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/1.188, allocations: 92.86 kB / 1.216 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/1.188, allocations: 8 kB / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.188, allocations: 11.98 kB / 1.216 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.188, allocations: 15.98 kB / 1.216 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/1.188, allocations: 4 kB / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001505/1.188, allocations: 164.5 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.188, allocations: 0 / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002825/1.189, allocations: 35.91 kB / 1.216 GB, free: 4.668 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.0001501/1.189, allocations: 107.2 kB / 1.216 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003146/1.189, allocations: 119.9 kB / 1.216 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.189, allocations: 3.938 kB / 1.216 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.189, allocations: 55.91 kB / 1.216 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.189, allocations: 32.86 kB / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/1.19, allocations: 342.9 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.19, allocations: 0.7281 MB / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.8e-05/1.19, allocations: 25.53 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/1.191, allocations: 19.44 kB / 1.218 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.191, allocations: 0 / 1.218 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.004671/1.195, allocations: 1.821 MB / 1.219 GB, free: 1.422 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/jenkins/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