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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001808/0.001808, allocations: 195.3 kB / 16.14 MB, free: 6.719 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 62.36 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1865/0.5192, allocations: 166.1 MB / 1.214 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.543, allocations: 17.41 MB / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.5453, allocations: 27.81 kB / 1.231 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.5477, allocations: 485 kB / 1.232 GB, free: 136 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006098/0.5538, allocations: 1.601 MB / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.5578, allocations: 1.277 MB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004696/0.5625, allocations: 3.113 MB / 1.238 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.5659, allocations: 1.795 MB / 1.239 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006065/0.5719, allocations: 1.266 MB / 1.241 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.574, allocations: 1.101 MB / 1.242 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007155/0.5747, allocations: 120 kB / 1.242 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.5784, allocations: 1.575 MB / 1.243 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.5794, allocations: 0.7008 MB / 1.244 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.5817, allocations: 1.134 MB / 1.245 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6152/1.197, allocations: 3.512 MB / 1.249 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/1.197, allocations: 0 / 1.249 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.675e-06/1.197, allocations: 1.031 kB / 1.249 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001563/1.197, allocations: 0.7188 kB / 1.249 GB, free: 10.6 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.008939/1.206, allocations: 2.789 MB / 1.251 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/1.206, allocations: 9.844 kB / 1.251 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/1.211, allocations: 0.5551 MB / 1.252 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/1.214, allocations: 1.601 MB / 1.253 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.962e-05/1.214, allocations: 130.4 kB / 1.254 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/1.214, allocations: 172.1 kB / 1.254 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/1.218, allocations: 1.96 MB / 1.256 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/1.218, allocations: 0 / 1.256 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.218, allocations: 75.61 kB / 1.256 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/1.218, allocations: 40.22 kB / 1.256 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/1.222, allocations: 2.116 MB / 1.258 GB, free: 8.605 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.01151/1.234, allocations: 6.241 MB / 1.264 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/1.238, allocations: 2.126 MB / 1.266 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1.239, allocations: 0.7764 MB / 1.267 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/1.24, allocations: 433.6 kB / 1.267 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/1.242, allocations: 1.011 MB / 1.268 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.366e-06/1.242, allocations: 1.219 kB / 1.268 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.008345/1.25, allocations: 2.991 MB / 1.271 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/1.251, allocations: 197.7 kB / 1.271 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/1.254, allocations: 1.835 MB / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/1.254, allocations: 58.8 kB / 1.273 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/1.255, allocations: 0.8449 MB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/1.255, allocations: 482.2 kB / 1.274 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/1.255, allocations: 254.8 kB / 1.275 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/1.255, allocations: 354.9 kB / 1.275 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/1.257, allocations: 0.6078 MB / 1.276 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/1.258, allocations: 0.815 MB / 1.276 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/1.261, allocations: 1.359 MB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.261, allocations: 0 / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004276/1.265, allocations: 1.849 MB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.265, allocations: 4.906 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.265, allocations: 1.156 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.266, allocations: 211.8 kB / 1.28 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.268, allocations: 336.4 kB / 1.28 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/1.274, allocations: 6.82 MB / 1.287 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/1.276, allocations: 186.1 kB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/1.277, allocations: 58.75 kB / 1.287 GB, free: 12.48 MB / 1.014 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.001427/1.278, allocations: 493.9 kB / 1.287 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/1.279, allocations: 186.6 kB / 1.288 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/1.285, allocations: 2.142 MB / 1.29 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.285, allocations: 15.41 kB / 1.29 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.285, allocations: 3.266 kB / 1.29 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.285, allocations: 8.672 kB / 1.29 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009617/1.294, allocations: 4.021 MB / 1.294 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.294, allocations: 0 / 1.294 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.296, allocations: 324.8 kB / 1.294 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009972/1.297, allocations: 204.8 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.297, allocations: 44.08 kB / 1.294 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006219/1.303, allocations: 6.849 MB / 1.301 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.303, allocations: 4.062 kB / 1.301 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/1.308, allocations: 2.01 MB / 1.303 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.31, allocations: 476.4 kB / 1.303 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000678/1.31, allocations: 29.12 kB / 1.303 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/1.313, allocations: 135.3 kB / 1.303 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.313, allocations: 122.9 kB / 1.304 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.313, allocations: 66.39 kB / 1.304 GB, free: 4.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002375/1.316, allocations: 1.31 MB / 1.305 GB, free: 4.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.41e-07/1.316, allocations: 3.406 kB / 1.305 GB, free: 4.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00276/1.318, allocations: 0.6877 MB / 1.306 GB, free: 4.465 MB / 1.014 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.002052/1.32, allocations: 0.7531 MB / 1.306 GB, free: 4.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00346/1.324, allocations: 2.099 MB / 1.308 GB, free: 3.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/1.324, allocations: 3.984 kB / 1.308 GB, free: 3.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.326, allocations: 1.425 MB / 1.31 GB, free: 3.113 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.328, allocations: 0.5204 MB / 1.31 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007195/1.336, allocations: 4.744 MB / 1.315 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.337, allocations: 1.54 MB / 1.316 GB, free: 92 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002221/1.339, allocations: 0.5005 MB / 1.317 GB, free: 15.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/1.34, allocations: 173 kB / 1.317 GB, free: 15.93 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/1.34, allocations: 1.094 kB / 1.317 GB, free: 15.93 MB / 1.029 GB Notification: Performance of Templates: time 0.05502/1.395, allocations: 30.88 MB / 1.347 GB, free: 6.992 MB / 1.029 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