Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round",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.377/2.377, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001226/0.001226, allocations: 183.2 kB / 498.1 MB, free: 5.719 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.642/1.642, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.0009202/0.0009203, allocations: 96.33 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 11.09 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3346, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.5362, allocations: 148.8 MB / 1.368 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5365, allocations: 83.94 kB / 1.368 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001688/0.5383, allocations: 0.6217 MB / 1.369 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5383, allocations: 0 / 1.369 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5383, allocations: 0 / 1.369 GB, free: 3.801 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000337/0.5386, allocations: 327.4 kB / 1.369 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.5387, allocations: 12.03 kB / 1.369 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.5388, allocations: 34.56 kB / 1.369 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.5388, allocations: 0 / 1.369 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.5389, allocations: 176.9 kB / 1.369 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5389, allocations: 0 / 1.369 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.539, allocations: 0 / 1.369 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.5391, allocations: 69.98 kB / 1.37 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5391, allocations: 4 kB / 1.37 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5392, allocations: 4 kB / 1.37 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5392, allocations: 3.938 kB / 1.37 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.5392, allocations: 19.86 kB / 1.37 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.5394, allocations: 189.1 kB / 1.37 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5395, allocations: 97.06 kB / 1.37 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.5397, allocations: 81.17 kB / 1.37 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5398, allocations: 42.48 kB / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.5398, allocations: 0 / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.000213/0.54, allocations: 69.56 kB / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.5401, allocations: 158.2 kB / 1.37 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.5401, allocations: 89.62 kB / 1.37 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5402, allocations: 33.69 kB / 1.37 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.5402, allocations: 80.14 kB / 1.37 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.5402, allocations: 11.81 kB / 1.37 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5403, allocations: 0 / 1.37 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5404, allocations: 314.8 kB / 1.371 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.5404, allocations: 4 kB / 1.371 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.5405, allocations: 36.28 kB / 1.371 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.5405, allocations: 15.95 kB / 1.371 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5405, allocations: 0 / 1.371 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001083/0.5406, allocations: 65.55 kB / 1.371 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5407, allocations: 8 kB / 1.371 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5407, allocations: 0 / 1.371 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5407, allocations: 4.156 kB / 1.371 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.5408, allocations: 11.94 kB / 1.371 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5408, allocations: 4 kB / 1.371 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.5408, allocations: 0 / 1.371 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.5409, allocations: 7.984 kB / 1.371 GB, free: 1.527 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.5409, allocations: 125.7 kB / 1.371 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.541, allocations: 3.906 kB / 1.371 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.5412, allocations: 104.6 kB / 1.371 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5412, allocations: 4 kB / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5412, allocations: 128 / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5412, allocations: 4 kB / 1.371 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5414, allocations: 165.7 kB / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5414, allocations: 4.109 kB / 1.371 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.5415, allocations: 23.92 kB / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.5415, allocations: 4 kB / 1.371 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5415, allocations: 4 kB / 1.371 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5415, allocations: 4 kB / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5415, allocations: 0 / 1.371 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.5417, allocations: 179.2 kB / 1.371 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.5418, allocations: 81.11 kB / 1.371 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5418, allocations: 4 kB / 1.371 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.5418, allocations: 4 kB / 1.372 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.5419, allocations: 15.94 kB / 1.372 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.5419, allocations: 4 kB / 1.372 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.5419, allocations: 75.28 kB / 1.372 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5419, allocations: 0 / 1.372 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002237/0.5421, allocations: 12 kB / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005896/0.5427, allocations: 0.991 MB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5429, allocations: 35.92 kB / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5429, allocations: 0 / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.5429, allocations: 27.92 kB / 1.373 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.543, allocations: 4.781 kB / 1.373 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.5434, allocations: 188.3 kB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.5437, allocations: 0.6848 MB / 1.373 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.5437, allocations: 7.906 kB / 1.373 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.5438, allocations: 23.42 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.5438, allocations: 0 / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.5561, allocations: 1.179 MB / 1.375 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.5563, allocations: 184.1 kB / 1.375 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.119, allocations: 4 kB / 1.375 GB, free: 13.18 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat does not exist to compare? outputFormat=mat