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.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002167/0.002167, allocations: 193.6 kB / 16.14 MB, free: 6.699 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.16 kB / 0.8986 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2953, allocations: 157.4 MB / 1.052 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.00232/0.2977, allocations: 1.23 MB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2988, allocations: 0.9949 MB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.299, allocations: 7.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2992, allocations: 15.8 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.2993, allocations: 23.78 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2995, allocations: 83.94 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.2997, allocations: 231.4 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.3, allocations: 119.5 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.3001, allocations: 67.7 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.3002, allocations: 87.55 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.3002, allocations: 12 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.3002, allocations: 12 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.3003, allocations: 39.83 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.3003, allocations: 87.47 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.3006, allocations: 303.2 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3006, allocations: 7.938 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3006, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3006, allocations: 0 / 1.056 GB, free: 4.75 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006694/0.3013, allocations: 0.5069 MB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3013, allocations: 11.97 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.3014, allocations: 54.73 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.3014, allocations: 24.69 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.3018, allocations: 276.2 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3018, allocations: 16.81 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3019, allocations: 16.38 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.3023, allocations: 230.2 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.3023, allocations: 7.938 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3023, allocations: 4 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3023, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.3027, allocations: 169 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.3036, allocations: 0.6972 MB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3038, allocations: 94.53 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3039, allocations: 44.84 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3039, allocations: 7.984 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.304, allocations: 38.62 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.304, allocations: 0 / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004258/0.3044, allocations: 165.4 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.3044, allocations: 55.39 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3046, allocations: 219.2 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3046, allocations: 29.7 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.3047, allocations: 151.9 kB / 1.058 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.3048, allocations: 43.44 kB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.3048, allocations: 25.72 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.3049, allocations: 330.8 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.305, allocations: 51.97 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3052, allocations: 86.59 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3054, allocations: 145 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3054, allocations: 0 / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003269/0.3058, allocations: 188.1 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3058, allocations: 17.12 kB / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3058, allocations: 0 / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3058, allocations: 4 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.306, allocations: 39.97 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.306, allocations: 0 / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3061, allocations: 19.78 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3061, allocations: 7.984 kB / 1.059 GB, free: 0.7383 MB / 0.8106 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 9.397e-05/0.3062, allocations: 143.8 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.3063, allocations: 19.75 kB / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.3066, allocations: 154.9 kB / 1.059 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3066, allocations: 7.984 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3066, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3066, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.3073, allocations: 0.5124 MB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3073, allocations: 0 / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3074, allocations: 23.98 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3074, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3074, allocations: 8 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3074, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3074, allocations: 8.031 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.3077, allocations: 261.8 kB / 1.06 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.3078, allocations: 104.8 kB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3078, allocations: 8 kB / 1.06 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.308, allocations: 11.98 kB / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.308, allocations: 15.98 kB / 1.06 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.308, allocations: 11.88 kB / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3082, allocations: 152.7 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3082, allocations: 0 / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000253/0.3084, allocations: 31.94 kB / 1.061 GB, free: 15.16 MB / 0.8262 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.0005408/0.309, allocations: 0.7966 MB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3092, allocations: 123.9 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3093, allocations: 0 / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3094, allocations: 59.84 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3098, allocations: 36.75 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.3119, allocations: 2.099 MB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3122, allocations: 0.7284 MB / 1.064 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.888e-05/0.3123, allocations: 29.52 kB / 1.064 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.3124, allocations: 59.42 kB / 1.064 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3124, allocations: 0 / 1.064 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.3249, allocations: 3.39 MB / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.3251, allocations: 281.9 kB / 1.068 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.926, allocations: 5.891 kB / 1.068 GB, free: 7.5 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > 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