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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 405.3 MB, free: 13.33 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.001021/0.001021, allocations: 177 kB / 498.1 MB, free: 5.602 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.479/1.479, allocations: 223.2 MB / 0.7948 GB, free: 18.77 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.0009218/0.0009218, allocations: 106.6 kB / 0.9346 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004145, allocations: 14.09 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.812/4.053, allocations: 1.938 GB / 3.161 GB, free: 39.26 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/4.053, allocations: 91.95 kB / 3.161 GB, free: 39.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/5.196, allocations: 321.7 MB / 3.476 GB, free: 189.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.034e-06/5.196, allocations: 0 / 3.476 GB, free: 189.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001522/5.196, allocations: 52 kB / 3.476 GB, free: 189.6 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.004942/5.201, allocations: 2.632 MB / 3.478 GB, free: 187 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/5.201, allocations: 8.031 kB / 3.478 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/5.201, allocations: 244.6 kB / 3.478 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/5.205, allocations: 0.5551 MB / 3.479 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/5.209, allocations: 2.196 MB / 3.481 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/5.209, allocations: 127.3 kB / 3.481 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/5.209, allocations: 164 kB / 3.481 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/5.212, allocations: 1.861 MB / 3.483 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/5.212, allocations: 0 / 3.483 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/5.212, allocations: 79.95 kB / 3.483 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/5.212, allocations: 40 kB / 3.483 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/5.215, allocations: 2.034 MB / 3.485 GB, free: 179.5 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.008922/5.224, allocations: 6.227 MB / 3.491 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/5.227, allocations: 1.991 MB / 3.493 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/5.227, allocations: 429.7 kB / 3.494 GB, free: 170.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/5.229, allocations: 0.9387 MB / 3.495 GB, free: 169.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.457e-06/5.229, allocations: 0 / 3.495 GB, free: 169.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006019/5.235, allocations: 2.889 MB / 3.497 GB, free: 166.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/5.235, allocations: 248.6 kB / 3.498 GB, free: 166.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/5.238, allocations: 2.47 MB / 3.5 GB, free: 163.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/5.238, allocations: 57.7 kB / 3.5 GB, free: 163.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/5.238, allocations: 0.8866 MB / 3.501 GB, free: 162.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/5.239, allocations: 449.3 kB / 3.501 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/5.239, allocations: 24 kB / 3.502 GB, free: 162.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/5.239, allocations: 353.9 kB / 3.502 GB, free: 162 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009453/5.24, allocations: 0.5413 MB / 3.502 GB, free: 161.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/5.241, allocations: 0.7597 MB / 3.503 GB, free: 160.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/5.242, allocations: 0.6327 MB / 3.504 GB, free: 160 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/5.242, allocations: 4 kB / 3.504 GB, free: 160 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003312/5.245, allocations: 1.701 MB / 3.505 GB, free: 158.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/5.245, allocations: 4 kB / 3.505 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/5.245, allocations: 0 / 3.505 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009945/5.246, allocations: 212.1 kB / 3.506 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/5.248, allocations: 311.6 kB / 3.506 GB, free: 157.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/5.252, allocations: 6.865 MB / 3.513 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/5.253, allocations: 178.9 kB / 3.513 GB, free: 150 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/5.254, allocations: 63.95 kB / 3.513 GB, free: 150 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.0009904/5.255, allocations: 477.8 kB / 3.513 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/5.255, allocations: 193.6 kB / 3.513 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/5.259, allocations: 2.149 MB / 3.516 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/5.259, allocations: 16 kB / 3.516 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/5.259, allocations: 4 kB / 3.516 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/5.259, allocations: 11.97 kB / 3.516 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006537/5.266, allocations: 4.269 MB / 3.52 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/5.266, allocations: 0 / 3.52 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/5.267, allocations: 327.6 kB / 3.52 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/5.268, allocations: 212.1 kB / 3.52 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/5.268, allocations: 47.94 kB / 3.52 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/5.272, allocations: 6.894 MB / 3.527 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/5.272, allocations: 0 / 3.527 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/5.277, allocations: 1.901 MB / 3.529 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/5.278, allocations: 0.6737 MB / 3.53 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/5.279, allocations: 28 kB / 3.53 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/5.28, allocations: 139.7 kB / 3.53 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/5.28, allocations: 105.2 kB / 3.53 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/5.28, allocations: 83.94 kB / 3.53 GB, free: 131.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002532/5.283, allocations: 1.964 MB / 3.532 GB, free: 129.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/5.283, allocations: 3.938 kB / 3.532 GB, free: 129.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002467/5.285, allocations: 0.8264 MB / 3.533 GB, free: 128.8 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.005933/5.291, allocations: 4.006 MB / 3.537 GB, free: 125 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002682/5.294, allocations: 1.926 MB / 3.538 GB, free: 123 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/5.294, allocations: 0.5625 kB / 3.538 GB, free: 123 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/5.296, allocations: 1.356 MB / 3.54 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/5.298, allocations: 468.3 kB / 3.54 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/5.319, allocations: 15.5 MB / 3.555 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/5.32, allocations: 1.552 MB / 3.557 GB, free: 103.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002244/5.322, allocations: 0.6646 MB / 3.558 GB, free: 102.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/5.324, allocations: 0.9248 MB / 3.558 GB, free: 101.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/5.324, allocations: 0 / 3.558 GB, free: 101.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08519/5.409, allocations: 67.79 MB / 3.625 GB, free: 34.39 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/5.409, allocations: 264 kB / 3.625 GB, free: 34.03 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.919/9.328, allocations: 0 / 3.625 GB, free: 34.03 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat