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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001168/0.001168, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 175.8 kB / 16.92 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003881, allocations: 8 kB / 0.8735 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.75, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1821/0.9322, allocations: 163.9 MB / 1.184 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.9545, allocations: 17.18 MB / 1.201 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.9565, allocations: 31.75 kB / 1.201 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.9583, allocations: 489 kB / 1.201 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.964, allocations: 1.583 MB / 1.203 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.9677, allocations: 1.268 MB / 1.204 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004137/0.9719, allocations: 3.124 MB / 1.207 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.9742, allocations: 1.663 MB / 1.209 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.9792, allocations: 1.121 MB / 1.21 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.9808, allocations: 0.9097 MB / 1.21 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.981, allocations: 48 kB / 1.211 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.9841, allocations: 1.509 MB / 1.212 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/0.9847, allocations: 0.5993 MB / 1.213 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.9859, allocations: 1.019 MB / 1.214 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.9891, allocations: 2.607 MB / 1.216 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9891, allocations: 0 / 1.216 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.617e-06/0.9892, allocations: 3.938 kB / 1.216 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.368e-05/0.9892, allocations: 3.938 kB / 1.216 GB, free: 10.12 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.004142/0.9933, allocations: 2.338 MB / 1.218 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9934, allocations: 8.031 kB / 1.218 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.9972, allocations: 0.5669 MB / 1.219 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.9999, allocations: 1.611 MB / 1.221 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/1, allocations: 131.4 kB / 1.221 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/1, allocations: 164 kB / 1.221 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/1.004, allocations: 1.964 MB / 1.223 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/1.004, allocations: 0 / 1.223 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.004, allocations: 79.98 kB / 1.223 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/1.004, allocations: 40 kB / 1.223 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/1.008, allocations: 2.132 MB / 1.225 GB, free: 0.9219 MB / 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.009836/1.018, allocations: 6.276 MB / 1.231 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/1.021, allocations: 2.129 MB / 1.233 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.022, allocations: 0.7842 MB / 1.234 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/1.023, allocations: 441.5 kB / 1.234 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00182/1.025, allocations: 1.021 MB / 1.235 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/1.025, allocations: 3.938 kB / 1.235 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006992/1.032, allocations: 3.024 MB / 1.238 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/1.032, allocations: 205.2 kB / 1.238 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/1.035, allocations: 1.826 MB / 1.24 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/1.035, allocations: 65.7 kB / 1.24 GB, free: 480 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007532/1.036, allocations: 0.8431 MB / 1.241 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/1.036, allocations: 484.9 kB / 1.242 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/1.036, allocations: 105.7 kB / 1.242 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.036, allocations: 361.9 kB / 1.242 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.038, allocations: 0.6116 MB / 1.243 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.039, allocations: 0.8209 MB / 1.243 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/1.042, allocations: 1.376 MB / 1.245 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.042, allocations: 0 / 1.245 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004206/1.046, allocations: 1.861 MB / 1.247 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.046, allocations: 9.812 kB / 1.247 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.046, allocations: 4 kB / 1.247 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.047, allocations: 216.1 kB / 1.247 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.049, allocations: 343.6 kB / 1.247 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/1.055, allocations: 6.83 MB / 1.254 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.057, allocations: 196 kB / 1.254 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.057, allocations: 59.95 kB / 1.254 GB, free: 1.578 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.001103/1.058, allocations: 495 kB / 1.255 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/1.058, allocations: 181.8 kB / 1.255 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6056/1.664, allocations: 2.162 MB / 1.257 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.664, allocations: 15.81 kB / 1.257 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.664, allocations: 6.188 kB / 1.257 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/1.664, allocations: 7.859 kB / 1.257 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008549/1.672, allocations: 4.037 MB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.672, allocations: 5.906 kB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.674, allocations: 325.8 kB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.675, allocations: 212 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.675, allocations: 41.52 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004585/1.68, allocations: 6.846 MB / 1.268 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.68, allocations: 0 / 1.268 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004974/1.685, allocations: 2.03 MB / 1.27 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.686, allocations: 494.5 kB / 1.271 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.686, allocations: 28.16 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.688, allocations: 167.3 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/1.688, allocations: 108.6 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.689, allocations: 73.66 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002651/1.691, allocations: 1.304 MB / 1.272 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/1.691, allocations: 0 / 1.272 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002498/1.694, allocations: 0.6887 MB / 1.273 GB, free: 218 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.001975/1.696, allocations: 0.7526 MB / 1.274 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00392/1.7, allocations: 2.13 MB / 1.276 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.7, allocations: 1.75 kB / 1.276 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.702, allocations: 1.44 MB / 1.277 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/1.705, allocations: 0.5208 MB / 1.278 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007588/1.713, allocations: 4.642 MB / 1.282 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.714, allocations: 1.502 MB / 1.284 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008791/1.715, allocations: 191.9 kB / 1.284 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.715, allocations: 0 / 1.284 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06227/1.777, allocations: 67.3 MB / 1.349 GB, free: 152.1 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/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