Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001037/0.001037, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008224/0.008224, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 8 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.718, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1743/0.8923, allocations: 163.9 MB / 1.183 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0253/0.9176, allocations: 17.18 MB / 1.2 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.9197, allocations: 27.81 kB / 1.2 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.9219, allocations: 489 kB / 1.2 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006485/0.9285, allocations: 1.598 MB / 1.202 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004584/0.933, allocations: 1.269 MB / 1.203 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005439/0.9385, allocations: 3.109 MB / 1.206 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.9418, allocations: 1.667 MB / 1.208 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.9475, allocations: 1.126 MB / 1.209 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.9493, allocations: 0.9058 MB / 1.21 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004179/0.9498, allocations: 48 kB / 1.21 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.9535, allocations: 1.52 MB / 1.211 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008076/0.9543, allocations: 0.5876 MB / 1.212 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.9558, allocations: 1.019 MB / 1.213 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005345/0.9612, allocations: 3.414 MB / 1.216 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9612, allocations: 8 kB / 1.216 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.169e-05/0.9612, allocations: 4 kB / 1.216 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.866e-05/0.9613, allocations: 0 / 1.216 GB, free: 9.281 MB / 0.9669 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.004841/0.9662, allocations: 2.327 MB / 1.219 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9662, allocations: 12.03 kB / 1.219 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.9701, allocations: 0.5668 MB / 1.219 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.9725, allocations: 1.604 MB / 1.221 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.9726, allocations: 135.4 kB / 1.221 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.9728, allocations: 168 kB / 1.221 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.9763, allocations: 1.964 MB / 1.223 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.9763, allocations: 0 / 1.223 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.9765, allocations: 72 kB / 1.223 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.9765, allocations: 43.98 kB / 1.223 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.9802, allocations: 2.14 MB / 1.225 GB, free: 88 kB / 0.9669 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.009692/0.9899, allocations: 6.271 MB / 1.231 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.9934, allocations: 2.141 MB / 1.233 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.9948, allocations: 0.7803 MB / 1.234 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.9954, allocations: 437.5 kB / 1.234 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.9972, allocations: 1.028 MB / 1.235 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.527e-06/0.9972, allocations: 0 / 1.235 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.00703/1.004, allocations: 3.028 MB / 1.238 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.004, allocations: 197.2 kB / 1.239 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/1.007, allocations: 1.826 MB / 1.24 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000229/1.007, allocations: 61.7 kB / 1.24 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/1.008, allocations: 0.8508 MB / 1.241 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/1.009, allocations: 481 kB / 1.242 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.009, allocations: 101.7 kB / 1.242 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.009, allocations: 361.9 kB / 1.242 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.01, allocations: 0.6155 MB / 1.243 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/1.012, allocations: 0.8248 MB / 1.244 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/1.014, allocations: 1.372 MB / 1.245 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.014, allocations: 4 kB / 1.245 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004198/1.018, allocations: 1.862 MB / 1.247 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.018, allocations: 11.92 kB / 1.247 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.018, allocations: 0 / 1.247 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.02, allocations: 208.1 kB / 1.247 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.021, allocations: 347.6 kB / 1.247 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/1.027, allocations: 6.827 MB / 1.254 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.029, allocations: 207.9 kB / 1.254 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/1.029, allocations: 59.95 kB / 1.254 GB, free: 0.7383 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001423/1.03, allocations: 491 kB / 1.255 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/1.031, allocations: 185.8 kB / 1.255 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5685/1.599, allocations: 2.162 MB / 1.257 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/1.6, allocations: 19.33 kB / 1.257 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.6, allocations: 2.125 kB / 1.257 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.6, allocations: 7.453 kB / 1.257 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009645/1.609, allocations: 4.033 MB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.609, allocations: 1.25 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/1.611, allocations: 322.7 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/1.612, allocations: 214.7 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.613, allocations: 41.28 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/1.618, allocations: 6.848 MB / 1.268 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.618, allocations: 0 / 1.268 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/1.623, allocations: 2.028 MB / 1.27 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.624, allocations: 497.8 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/1.625, allocations: 32.27 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.626, allocations: 162.5 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.627, allocations: 113.4 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.627, allocations: 72.84 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00243/1.629, allocations: 1.304 MB / 1.272 GB, free: 218 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.629, allocations: 3.094 kB / 1.272 GB, free: 218 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002356/1.632, allocations: 0.6908 MB / 1.273 GB, free: 217.9 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/1.634, allocations: 0.7506 MB / 1.274 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003688/1.637, allocations: 2.132 MB / 1.276 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.637, allocations: 3.188 kB / 1.276 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/1.639, allocations: 1.434 MB / 1.277 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.642, allocations: 0.507 MB / 1.278 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/1.65, allocations: 4.761 MB / 1.282 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.651, allocations: 1.535 MB / 1.284 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002311/1.653, allocations: 0.504 MB / 1.284 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/1.654, allocations: 178.7 kB / 1.284 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.654, allocations: 0 / 1.284 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04748/1.701, allocations: 30.57 MB / 1.314 GB, free: 187.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches