Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 180.2 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 90.81 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 10.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.843/5.182, allocations: 1.938 GB / 3.161 GB, free: 23.88 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/5.182, allocations: 95.92 kB / 3.161 GB, free: 23.79 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/6.634, allocations: 321.7 MB / 3.475 GB, free: 160.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.755e-06/6.634, allocations: 0 / 3.475 GB, free: 160.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001747/6.634, allocations: 55.94 kB / 3.476 GB, free: 160.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005468/6.64, allocations: 2.619 MB / 3.478 GB, free: 157.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/6.64, allocations: 8.031 kB / 3.478 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/6.643, allocations: 0.5512 MB / 3.479 GB, free: 157.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/6.648, allocations: 2.196 MB / 3.481 GB, free: 155.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/6.648, allocations: 135.2 kB / 3.481 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/6.648, allocations: 168 kB / 3.481 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/6.651, allocations: 1.861 MB / 3.483 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/6.651, allocations: 0 / 3.483 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/6.651, allocations: 75.98 kB / 3.483 GB, free: 152.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/6.651, allocations: 43.98 kB / 3.483 GB, free: 152.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/6.655, allocations: 2.038 MB / 3.485 GB, free: 150.7 MB / 1.151 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.01108/6.666, allocations: 6.227 MB / 3.491 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/6.669, allocations: 2 MB / 3.493 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/6.669, allocations: 425.7 kB / 3.493 GB, free: 141.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/6.671, allocations: 0.9464 MB / 3.494 GB, free: 140.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.579e-06/6.671, allocations: 0 / 3.494 GB, free: 140.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.006896/6.678, allocations: 2.874 MB / 3.497 GB, free: 137.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/6.678, allocations: 252.6 kB / 3.497 GB, free: 137.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/6.682, allocations: 2.474 MB / 3.5 GB, free: 134.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003977/6.683, allocations: 53.7 kB / 3.5 GB, free: 134.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000866/6.684, allocations: 0.8827 MB / 3.501 GB, free: 134 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005586/6.684, allocations: 465.2 kB / 3.501 GB, free: 133.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/6.684, allocations: 20 kB / 3.501 GB, free: 133.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.684, allocations: 353.9 kB / 3.502 GB, free: 133.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/6.686, allocations: 0.549 MB / 3.502 GB, free: 132.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/6.687, allocations: 0.7553 MB / 3.503 GB, free: 131.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/6.688, allocations: 0.621 MB / 3.503 GB, free: 131.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/6.688, allocations: 0 / 3.503 GB, free: 131.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00419/6.692, allocations: 1.705 MB / 3.505 GB, free: 129.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/6.692, allocations: 16.94 kB / 3.505 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/6.692, allocations: 3.953 kB / 3.505 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/6.694, allocations: 208.1 kB / 3.505 GB, free: 129.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/6.695, allocations: 315.5 kB / 3.506 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/6.7, allocations: 6.847 MB / 3.512 GB, free: 121.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/6.702, allocations: 170.9 kB / 3.512 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/6.702, allocations: 63.97 kB / 3.513 GB, free: 121.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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.001553/6.704, allocations: 490.8 kB / 3.513 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/6.704, allocations: 189.7 kB / 3.513 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/6.709, allocations: 2.153 MB / 3.515 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/6.71, allocations: 16 kB / 3.515 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/6.71, allocations: 7.938 kB / 3.515 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/6.71, allocations: 3.984 kB / 3.515 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/6.718, allocations: 4.264 MB / 3.519 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/6.718, allocations: 0 / 3.519 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/6.719, allocations: 331.6 kB / 3.52 GB, free: 113.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009047/6.72, allocations: 212 kB / 3.52 GB, free: 113.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/6.721, allocations: 43.97 kB / 3.52 GB, free: 113.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/6.725, allocations: 6.89 MB / 3.527 GB, free: 105.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/6.725, allocations: 0 / 3.527 GB, free: 105.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/6.729, allocations: 1.905 MB / 3.529 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/6.731, allocations: 0.6704 MB / 3.529 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000565/6.731, allocations: 32 kB / 3.529 GB, free: 103.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/6.733, allocations: 131.7 kB / 3.529 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/6.733, allocations: 121.1 kB / 3.53 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/6.733, allocations: 83.94 kB / 3.53 GB, free: 102.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002829/6.736, allocations: 1.952 MB / 3.532 GB, free: 100.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/6.736, allocations: 0 / 3.532 GB, free: 100.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003047/6.739, allocations: 0.838 MB / 3.532 GB, free: 100 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003411/6.743, allocations: 1.694 MB / 3.534 GB, free: 98.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003281/6.746, allocations: 1.926 MB / 3.536 GB, free: 96.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/6.746, allocations: 0.5625 kB / 3.536 GB, free: 96.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/6.748, allocations: 1.356 MB / 3.537 GB, free: 95.07 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/6.751, allocations: 478.1 kB / 3.538 GB, free: 94.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/6.759, allocations: 4.544 MB / 3.542 GB, free: 90.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/6.76, allocations: 1.552 MB / 3.544 GB, free: 88.45 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003184/6.764, allocations: 0.6607 MB / 3.544 GB, free: 87.78 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/6.765, allocations: 247.2 kB / 3.544 GB, free: 87.54 MB / 1.151 GB Notification: Performance of SimCode: time 9.31e-07/6.765, allocations: 0 / 3.544 GB, free: 87.54 MB / 1.151 GB Notification: Performance of Templates: time 0.07164/6.837, allocations: 47.11 MB / 3.59 GB, free: 40.67 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches