Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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: translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008002/0.0008002, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008906/0.0008904, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 13.78 kB / 0.9021 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2618, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1494/0.4112, allocations: 152.9 MB / 1.207 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.4319, allocations: 16.09 MB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.4335, allocations: 27.81 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.435, allocations: 413.1 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.4394, allocations: 1.421 MB / 1.225 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.4426, allocations: 1.116 MB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003271/0.4459, allocations: 2.769 MB / 1.229 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.4483, allocations: 1.453 MB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.4504, allocations: 1.043 MB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.4519, allocations: 0.8751 MB / 1.232 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003495/0.4523, allocations: 52 kB / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.4548, allocations: 1.014 MB / 1.233 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006889/0.4555, allocations: 0.5839 MB / 1.234 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.4561, allocations: 428.4 kB / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.459, allocations: 2.583 MB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.459, allocations: 0 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.459, allocations: 0 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.466e-05/0.4591, allocations: 0 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.003928/0.463, allocations: 2.346 MB / 1.239 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4631, allocations: 12.02 kB / 1.239 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.4666, allocations: 0.5552 MB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.4687, allocations: 1.546 MB / 1.241 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.4688, allocations: 127.4 kB / 1.241 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.469, allocations: 168 kB / 1.241 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.4722, allocations: 1.952 MB / 1.243 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.4723, allocations: 7.938 kB / 1.243 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.4724, allocations: 76 kB / 1.243 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.4725, allocations: 40 kB / 1.243 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.4759, allocations: 2.124 MB / 1.245 GB, free: 4.953 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5088/0.9848, allocations: 6.259 MB / 1.251 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.988, allocations: 2.136 MB / 1.253 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.9892, allocations: 0.7803 MB / 1.254 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.9897, allocations: 431.4 kB / 1.255 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.9912, allocations: 1.024 MB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.956e-06/0.9912, allocations: 1.406 kB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.005873/0.9971, allocations: 3.012 MB / 1.259 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.9972, allocations: 201.3 kB / 1.259 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.9993, allocations: 1.792 MB / 1.26 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.9994, allocations: 61.73 kB / 1.261 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/1, allocations: 0.841 MB / 1.261 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/1, allocations: 483.9 kB / 1.262 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/1, allocations: 26.5 kB / 1.262 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/1, allocations: 356 kB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.002, allocations: 0.607 MB / 1.263 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/1.003, allocations: 0.8191 MB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.004, allocations: 0.6788 MB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/1.004, allocations: 0.8125 kB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004046/1.008, allocations: 1.85 MB / 1.266 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.008, allocations: 4.719 kB / 1.266 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.008, allocations: 6.25 kB / 1.266 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009796/1.009, allocations: 208.6 kB / 1.266 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.011, allocations: 348.5 kB / 1.267 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/1.015, allocations: 6.817 MB / 1.273 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.017, allocations: 201.1 kB / 1.273 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.017, allocations: 61.89 kB / 1.273 GB, free: 177.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009989/1.018, allocations: 483.3 kB / 1.274 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/1.018, allocations: 178.2 kB / 1.274 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/1.023, allocations: 2.166 MB / 1.276 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/1.023, allocations: 14.19 kB / 1.276 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.023, allocations: 3.453 kB / 1.276 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/1.023, allocations: 7.406 kB / 1.276 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/1.03, allocations: 4.025 MB / 1.28 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.03, allocations: 0 / 1.28 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.031, allocations: 325.4 kB / 1.28 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008474/1.032, allocations: 214.7 kB / 1.281 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.032, allocations: 40.33 kB / 1.281 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/1.036, allocations: 6.846 MB / 1.287 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.036, allocations: 1.062 kB / 1.287 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/1.04, allocations: 2.017 MB / 1.289 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/1.041, allocations: 493.9 kB / 1.29 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/1.041, allocations: 28.5 kB / 1.29 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.043, allocations: 161.3 kB / 1.29 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/1.043, allocations: 121.9 kB / 1.29 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.043, allocations: 69.69 kB / 1.29 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001715/1.045, allocations: 1.278 MB / 1.291 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.32e-07/1.045, allocations: 0 / 1.291 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001861/1.047, allocations: 0.692 MB / 1.292 GB, free: 167.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/1.048, allocations: 0.7521 MB / 1.293 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003345/1.052, allocations: 2.115 MB / 1.295 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.052, allocations: 1.656 kB / 1.295 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.054, allocations: 1.434 MB / 1.296 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.056, allocations: 0.5023 MB / 1.297 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/1.062, allocations: 4.607 MB / 1.301 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/1.063, allocations: 1.527 MB / 1.303 GB, free: 162 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001839/1.064, allocations: 0.5025 MB / 1.303 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.065, allocations: 177.4 kB / 1.303 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.065, allocations: 0 / 1.303 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0407/1.106, allocations: 29.66 MB / 1.332 GB, free: 135.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches