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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.08/3.08, allocations: 393.5 MB / 408.4 MB, free: 11 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.0016/0.0016, allocations: 175 kB / 0.4901 GB, free: 2.246 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.713/1.713, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.001377/0.001377, allocations: 88.34 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004286, allocations: 9.656 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3789, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.027/5.406, allocations: 1.939 GB / 3.168 GB, free: 20.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/5.407, allocations: 91.95 kB / 3.169 GB, free: 20.77 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.421/6.828, allocations: 321.7 MB / 3.483 GB, free: 171 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.176e-06/6.828, allocations: 0 / 3.483 GB, free: 171 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002025/6.828, allocations: 59.88 kB / 3.483 GB, free: 171 MB / 1.167 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.005315/6.833, allocations: 2.623 MB / 3.485 GB, free: 168.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/6.833, allocations: 8.562 kB / 3.485 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004319/6.834, allocations: 244.5 kB / 3.486 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/6.838, allocations: 0.5551 MB / 3.486 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/6.842, allocations: 2.196 MB / 3.488 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/6.842, allocations: 127.2 kB / 3.488 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/6.842, allocations: 172 kB / 3.489 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/6.845, allocations: 1.861 MB / 3.49 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/6.845, allocations: 7.922 kB / 3.49 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/6.845, allocations: 75.98 kB / 3.49 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/6.845, allocations: 44 kB / 3.49 GB, free: 162.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/6.848, allocations: 2.034 MB / 3.492 GB, free: 160.8 MB / 1.167 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.009766/6.858, allocations: 6.21 MB / 3.499 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/6.861, allocations: 2.005 MB / 3.5 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/6.862, allocations: 425.6 kB / 3.501 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/6.863, allocations: 0.9387 MB / 3.502 GB, free: 150.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.336e-06/6.863, allocations: 0 / 3.502 GB, free: 150.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006691/6.87, allocations: 2.878 MB / 3.505 GB, free: 147.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/6.87, allocations: 252.6 kB / 3.505 GB, free: 147.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/6.873, allocations: 2.47 MB / 3.507 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/6.874, allocations: 57.7 kB / 3.507 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/6.874, allocations: 0.8865 MB / 3.508 GB, free: 144.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/6.875, allocations: 461.3 kB / 3.509 GB, free: 143.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/6.875, allocations: 24 kB / 3.509 GB, free: 143.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/6.875, allocations: 353.9 kB / 3.509 GB, free: 143.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/6.876, allocations: 0.5413 MB / 3.51 GB, free: 142.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/6.877, allocations: 0.7599 MB / 3.51 GB, free: 142 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/6.878, allocations: 0.621 MB / 3.511 GB, free: 141.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/6.878, allocations: 0 / 3.511 GB, free: 141.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003765/6.882, allocations: 1.705 MB / 3.513 GB, free: 139.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/6.882, allocations: 4 kB / 3.513 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/6.882, allocations: 8.062 kB / 3.513 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/6.883, allocations: 216 kB / 3.513 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/6.884, allocations: 311.6 kB / 3.513 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/6.889, allocations: 6.861 MB / 3.52 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/6.891, allocations: 166.9 kB / 3.52 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/6.891, allocations: 63.97 kB / 3.52 GB, free: 131.3 MB / 1.167 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.001204/6.892, allocations: 482.4 kB / 3.52 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/6.893, allocations: 189.7 kB / 3.521 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/6.897, allocations: 2.149 MB / 3.523 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/6.897, allocations: 12 kB / 3.523 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/6.897, allocations: 11.89 kB / 3.523 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/6.897, allocations: 3.984 kB / 3.523 GB, free: 128.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007677/6.905, allocations: 4.284 MB / 3.527 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/6.905, allocations: 0 / 3.527 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/6.906, allocations: 331.6 kB / 3.527 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008979/6.907, allocations: 212 kB / 3.527 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/6.907, allocations: 43.97 kB / 3.527 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/6.911, allocations: 6.874 MB / 3.534 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/6.911, allocations: 3.984 kB / 3.534 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/6.915, allocations: 1.909 MB / 3.536 GB, free: 114 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/6.917, allocations: 0.6699 MB / 3.537 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/6.917, allocations: 31.98 kB / 3.537 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/6.918, allocations: 131.8 kB / 3.537 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/6.919, allocations: 113.2 kB / 3.537 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/6.919, allocations: 91.92 kB / 3.537 GB, free: 112.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00236/6.921, allocations: 1.952 MB / 3.539 GB, free: 111 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/6.921, allocations: 0 / 3.539 GB, free: 111 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002745/6.924, allocations: 0.8264 MB / 3.54 GB, free: 110.2 MB / 1.167 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.006609/6.931, allocations: 4.012 MB / 3.544 GB, free: 106.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00304/6.934, allocations: 1.918 MB / 3.546 GB, free: 104.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/6.934, allocations: 4.562 kB / 3.546 GB, free: 104.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/6.935, allocations: 1.352 MB / 3.547 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/6.938, allocations: 475.9 kB / 3.547 GB, free: 102.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/6.964, allocations: 15.49 MB / 3.562 GB, free: 86.21 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/6.965, allocations: 1.556 MB / 3.564 GB, free: 84.62 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00266/6.967, allocations: 0.6569 MB / 3.565 GB, free: 83.95 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/6.969, allocations: 0.9209 MB / 3.566 GB, free: 83.03 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/6.969, allocations: 0 / 3.566 GB, free: 83.03 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/7.072, allocations: 67.8 MB / 3.632 GB, free: 15.66 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/7.072, allocations: 273.4 kB / 3.632 GB, free: 15.29 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.227/11.3, allocations: 0 / 3.632 GB, free: 15.29 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat