Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 91.84 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.001333/0.001334, 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.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 12.06 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2698, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1594/0.4292, allocations: 152.8 MB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.4482, allocations: 16.09 MB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.4494, allocations: 27.81 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.4506, allocations: 409.1 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.4544, allocations: 1.415 MB / 1.225 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.4574, allocations: 1.113 MB / 1.226 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003082/0.4605, allocations: 2.753 MB / 1.229 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.4625, allocations: 1.453 MB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.4643, allocations: 1.027 MB / 1.231 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.4654, allocations: 0.8712 MB / 1.232 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.4656, allocations: 52 kB / 1.232 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.4679, allocations: 1.014 MB / 1.233 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.4685, allocations: 0.5722 MB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.4689, allocations: 428.5 kB / 1.234 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.4718, allocations: 2.572 MB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4718, allocations: 0 / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4718, allocations: 0 / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.711e-05/0.4718, allocations: 0 / 1.236 GB, free: 14.18 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003984/0.4758, allocations: 2.32 MB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4759, allocations: 8.031 kB / 1.239 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003551/0.4794, allocations: 0.5668 MB / 1.239 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.4819, allocations: 1.534 MB / 1.241 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.482, allocations: 139.3 kB / 1.241 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.4823, allocations: 168 kB / 1.241 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.4857, allocations: 1.936 MB / 1.243 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.4858, allocations: 0 / 1.243 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.4859, allocations: 72 kB / 1.243 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.486, allocations: 44 kB / 1.243 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.4896, allocations: 2.081 MB / 1.245 GB, free: 5.137 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.4799/0.9696, allocations: 6.096 MB / 1.251 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/0.9729, allocations: 2.084 MB / 1.253 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.9741, allocations: 0.7617 MB / 1.254 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.9746, allocations: 429.3 kB / 1.254 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.9761, allocations: 1.008 MB / 1.255 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.577e-06/0.9762, allocations: 3.609 kB / 1.255 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.005933/0.9821, allocations: 2.962 MB / 1.258 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.9822, allocations: 199.3 kB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.9843, allocations: 1.772 MB / 1.26 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.9845, allocations: 62.52 kB / 1.26 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.9851, allocations: 0.8298 MB / 1.261 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.9854, allocations: 486.6 kB / 1.261 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.9855, allocations: 25.78 kB / 1.261 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.9856, allocations: 356.6 kB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.9866, allocations: 0.5893 MB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.9878, allocations: 0.7953 MB / 1.263 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.9891, allocations: 0.6602 MB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9891, allocations: 0.6562 kB / 1.264 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003982/0.9931, allocations: 1.809 MB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.9931, allocations: 5.438 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9931, allocations: 2.031 kB / 1.265 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.9942, allocations: 218 kB / 1.266 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.9958, allocations: 332.9 kB / 1.266 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/1, allocations: 6.812 MB / 1.273 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.002, allocations: 191.9 kB / 1.273 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/1.002, allocations: 58.52 kB / 1.273 GB, free: 177.7 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 (152): * Single equations (assignments): 147 * 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.001013/1.003, allocations: 493.4 kB / 1.273 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/1.004, allocations: 180.2 kB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/1.008, allocations: 2.136 MB / 1.276 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.008, allocations: 15.56 kB / 1.276 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.008, allocations: 2.062 kB / 1.276 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/1.008, allocations: 8.25 kB / 1.276 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/1.015, allocations: 3.986 MB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.015, allocations: 7.938 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.017, allocations: 314.2 kB / 1.28 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008986/1.017, allocations: 217.3 kB / 1.28 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.873e-05/1.018, allocations: 49.3 kB / 1.28 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/1.022, allocations: 6.826 MB / 1.287 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.022, allocations: 4.938 kB / 1.287 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/1.025, allocations: 1.984 MB / 1.289 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008262/1.026, allocations: 492.5 kB / 1.289 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/1.027, allocations: 29.12 kB / 1.289 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.028, allocations: 152.9 kB / 1.289 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.028, allocations: 112.3 kB / 1.289 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/1.028, allocations: 74.05 kB / 1.289 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001846/1.03, allocations: 1.269 MB / 1.291 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.03, allocations: 0 / 1.291 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001931/1.032, allocations: 0.6797 MB / 1.291 GB, free: 167.7 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.001621/1.034, allocations: 0.7498 MB / 1.292 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003233/1.037, allocations: 2.086 MB / 1.294 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.037, allocations: 7.031 kB / 1.294 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.039, allocations: 1.412 MB / 1.296 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.041, allocations: 0.5004 MB / 1.296 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/1.047, allocations: 4.481 MB / 1.3 GB, free: 163 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/1.048, allocations: 1.527 MB / 1.302 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001844/1.05, allocations: 0.4955 MB / 1.302 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/1.05, allocations: 175.6 kB / 1.303 GB, free: 162 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.05, allocations: 0 / 1.303 GB, free: 162 MB / 0.9981 GB Notification: Performance of Templates: time 0.0401/1.09, allocations: 29.46 MB / 1.331 GB, free: 136.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches