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.00113/0.001131, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001209/0.001209, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.391/2.391, allocations: 437 MB / 0.7107 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 69.31 kB / 0.8694 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 151.6 MB / 1.017 GB, free: 11.08 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.7337/1.037, allocations: 166.2 MB / 1.18 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02435/1.061, allocations: 17.16 MB / 1.196 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/1.064, allocations: 30.41 kB / 1.197 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/1.066, allocations: 493.4 kB / 1.197 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006673/1.073, allocations: 1.64 MB / 1.199 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00429/1.077, allocations: 1.296 MB / 1.2 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004958/1.082, allocations: 2.882 MB / 1.203 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/1.085, allocations: 1.955 MB / 1.205 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/1.091, allocations: 1.43 MB / 1.206 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/1.094, allocations: 1.161 MB / 1.207 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008793/1.095, allocations: 223.7 kB / 1.207 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/1.099, allocations: 1.558 MB / 1.209 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001276/1.1, allocations: 0.8026 MB / 1.21 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/1.103, allocations: 1.232 MB / 1.211 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004831/1.108, allocations: 2.703 MB / 1.213 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.108, allocations: 0 / 1.213 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/1.108, allocations: 0 / 1.213 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001602/1.108, allocations: 0 / 1.213 GB, free: 0.6172 MB / 0.9044 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.00715/1.115, allocations: 2.786 MB / 1.216 GB, free: 14.51 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.115, allocations: 8.922 kB / 1.216 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/1.119, allocations: 0.5668 MB / 1.217 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/1.122, allocations: 1.604 MB / 1.218 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.122, allocations: 127.4 kB / 1.218 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/1.122, allocations: 179.9 kB / 1.219 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/1.126, allocations: 1.948 MB / 1.221 GB, free: 9.973 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/1.126, allocations: 7.984 kB / 1.221 GB, free: 9.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/1.126, allocations: 75.98 kB / 1.221 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/1.126, allocations: 40 kB / 1.221 GB, free: 9.852 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/1.13, allocations: 2.117 MB / 1.223 GB, free: 7.73 MB / 0.92 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.01096/1.141, allocations: 6.232 MB / 1.229 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/1.144, allocations: 2.135 MB / 1.231 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/1.146, allocations: 0.7726 MB / 1.232 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/1.146, allocations: 433.6 kB / 1.232 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/1.148, allocations: 1.017 MB / 1.233 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.679e-06/1.148, allocations: 0 / 1.233 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.007123/1.156, allocations: 2.989 MB / 1.236 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.156, allocations: 197.2 kB / 1.236 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/1.159, allocations: 1.833 MB / 1.238 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003239/1.159, allocations: 53.7 kB / 1.238 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008548/1.16, allocations: 0.8509 MB / 1.239 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/1.16, allocations: 485 kB / 1.239 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006245/1.161, allocations: 254.7 kB / 1.24 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.161, allocations: 361.9 kB / 1.24 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/1.163, allocations: 0.6038 MB / 1.24 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/1.164, allocations: 0.8169 MB / 1.241 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/1.167, allocations: 1.357 MB / 1.243 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.167, allocations: 0 / 1.243 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004326/1.171, allocations: 1.834 MB / 1.244 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.171, allocations: 11.92 kB / 1.244 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.171, allocations: 0 / 1.244 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/1.172, allocations: 208.2 kB / 1.245 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.174, allocations: 343.5 kB / 1.245 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/1.18, allocations: 7.339 MB / 1.252 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/1.182, allocations: 200.9 kB / 1.252 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/1.183, allocations: 51.95 kB / 1.252 GB, free: 7.879 MB / 0.9512 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.001355/1.184, allocations: 495.1 kB / 1.253 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/1.185, allocations: 181.8 kB / 1.253 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005159/1.19, allocations: 2.152 MB / 1.255 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.19, allocations: 16 kB / 1.255 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.19, allocations: 0 / 1.255 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/1.19, allocations: 7.969 kB / 1.255 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008493/1.198, allocations: 4.012 MB / 1.259 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.199, allocations: 3.984 kB / 1.259 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.2, allocations: 327.5 kB / 1.259 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/1.201, allocations: 196.1 kB / 1.259 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.201, allocations: 39.97 kB / 1.26 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/1.208, allocations: 7.359 MB / 1.267 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.208, allocations: 7.969 kB / 1.267 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/1.213, allocations: 2.01 MB / 1.269 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.214, allocations: 474.2 kB / 1.269 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005279/1.215, allocations: 28 kB / 1.269 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.216, allocations: 141.6 kB / 1.269 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/1.217, allocations: 113.2 kB / 1.269 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.217, allocations: 71.88 kB / 1.269 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002246/1.219, allocations: 1.31 MB / 1.271 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/1.219, allocations: 0 / 1.271 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002655/1.222, allocations: 0.6782 MB / 1.271 GB, free: 3.406 MB / 0.9669 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.002267/1.224, allocations: 0.7556 MB / 1.272 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006045/1.23, allocations: 2.543 MB / 1.275 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.23, allocations: 8.625 kB / 1.275 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/1.233, allocations: 1.422 MB / 1.276 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.236, allocations: 0.554 MB / 1.277 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008618/1.245, allocations: 4.632 MB / 1.281 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.247, allocations: 1.494 MB / 1.283 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009604/1.248, allocations: 191.3 kB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/1.248, allocations: 0 / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.08095/1.328, allocations: 67.59 MB / 1.349 GB, free: 4.301 MB / 1.045 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/jenkins1/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