Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001353/0.001353, allocations: 168.7 kB / 15.95 MB, free: 204 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003517, allocations: 8.781 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1551/0.4119, allocations: 152.9 MB / 1.207 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.4305, allocations: 16.09 MB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.4316, allocations: 27.81 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.4327, allocations: 413.1 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.4365, allocations: 1.419 MB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.4409, allocations: 1.123 MB / 1.226 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.4443, allocations: 2.777 MB / 1.229 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.4461, allocations: 1.461 MB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.4477, allocations: 1.031 MB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.4488, allocations: 0.8829 MB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.4489, allocations: 55.98 kB / 1.232 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.451, allocations: 1.006 MB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.4516, allocations: 0.5917 MB / 1.234 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.452, allocations: 432.4 kB / 1.234 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.4545, allocations: 2.576 MB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4545, allocations: 0 / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4545, allocations: 0 / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.4546, allocations: 4 kB / 1.236 GB, free: 14.04 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.003855/0.4584, allocations: 2.358 MB / 1.239 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4585, allocations: 12.03 kB / 1.239 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003543/0.462, allocations: 0.5668 MB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.4644, allocations: 1.547 MB / 1.241 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4645, allocations: 135.3 kB / 1.241 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.4647, allocations: 164 kB / 1.241 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.4681, allocations: 1.956 MB / 1.243 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.4681, allocations: 0 / 1.243 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.4683, allocations: 75.98 kB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.4684, allocations: 40 kB / 1.243 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.4719, allocations: 2.12 MB / 1.245 GB, free: 4.902 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.4764/0.9483, allocations: 6.26 MB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.9515, allocations: 2.134 MB / 1.253 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.9526, allocations: 0.7765 MB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.9531, allocations: 431.5 kB / 1.255 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.9546, allocations: 1.028 MB / 1.256 GB, free: 186 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.775e-06/0.9546, allocations: 0 / 1.256 GB, free: 186 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.00585/0.9604, allocations: 3.015 MB / 1.259 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.9605, allocations: 203.7 kB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.9626, allocations: 1.809 MB / 1.261 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.9627, allocations: 62.95 kB / 1.261 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/0.9633, allocations: 0.8524 MB / 1.261 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.9636, allocations: 483 kB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.9637, allocations: 27.66 kB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.9638, allocations: 353 kB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.9649, allocations: 0.606 MB / 1.263 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.9661, allocations: 0.8172 MB / 1.264 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.9674, allocations: 0.6783 MB / 1.264 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.9675, allocations: 1.062 kB / 1.264 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003979/0.9714, allocations: 1.856 MB / 1.266 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.9715, allocations: 6.406 kB / 1.266 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9715, allocations: 1.719 kB / 1.266 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009649/0.9725, allocations: 214.4 kB / 1.266 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.9741, allocations: 341.8 kB / 1.267 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.9786, allocations: 6.818 MB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.9803, allocations: 202.5 kB / 1.273 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.9804, allocations: 57.72 kB / 1.274 GB, free: 177.4 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.001063/0.9815, allocations: 485 kB / 1.274 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.9819, allocations: 190.6 kB / 1.274 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.9868, allocations: 2.169 MB / 1.276 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.9868, allocations: 20.09 kB / 1.276 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.9868, allocations: 2.094 kB / 1.276 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.9869, allocations: 9.047 kB / 1.276 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007425/0.9943, allocations: 4.023 MB / 1.28 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9943, allocations: 7.953 kB / 1.28 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.9958, allocations: 321.3 kB / 1.281 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/0.9967, allocations: 214.5 kB / 1.281 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.9968, allocations: 39.92 kB / 1.281 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/1.001, allocations: 6.838 MB / 1.288 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.001, allocations: 3.219 kB / 1.288 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/1.005, allocations: 2.019 MB / 1.289 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008037/1.006, allocations: 497.2 kB / 1.29 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/1.006, allocations: 29.39 kB / 1.29 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.007, allocations: 170.3 kB / 1.29 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/1.007, allocations: 110.7 kB / 1.29 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.008, allocations: 78.05 kB / 1.29 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001717/1.009, allocations: 1.289 MB / 1.292 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.009, allocations: 0 / 1.292 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001863/1.011, allocations: 0.6884 MB / 1.292 GB, free: 167.2 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.001741/1.013, allocations: 0.7523 MB / 1.293 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004267/1.017, allocations: 2.113 MB / 1.295 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.017, allocations: 7.531 kB / 1.295 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.02, allocations: 1.425 MB / 1.296 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.022, allocations: 0.4993 MB / 1.297 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/1.028, allocations: 4.634 MB / 1.301 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000944/1.029, allocations: 1.549 MB / 1.303 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001872/1.031, allocations: 0.4906 MB / 1.303 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/1.032, allocations: 173.1 kB / 1.304 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.032, allocations: 0 / 1.304 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0377/1.069, allocations: 29.7 MB / 1.333 GB, free: 135.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches