Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.987/1.987, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001112/0.001112, allocations: 180.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.000779/0.0007792, allocations: 107.8 kB / 0.9318 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.757e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7165/0.9275, allocations: 149.6 MB / 1.365 GB, free: 4.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.9278, allocations: 74.52 kB / 1.365 GB, free: 4.438 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001536/0.9293, allocations: 0.6234 MB / 1.366 GB, free: 3.855 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9293, allocations: 0 / 1.366 GB, free: 3.855 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.9294, allocations: 0 / 1.366 GB, free: 3.855 MB / 0.823 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.000273/0.9296, allocations: 324.6 kB / 1.366 GB, free: 3.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.9297, allocations: 8.031 kB / 1.366 GB, free: 3.492 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.9297, allocations: 33.75 kB / 1.366 GB, free: 3.453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.9298, allocations: 7.984 kB / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.9299, allocations: 163 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-06/0.9299, allocations: 0 / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.9299, allocations: 8 kB / 1.366 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.93, allocations: 72.3 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.9301, allocations: 0 / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.9301, allocations: 0 / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.9301, allocations: 0 / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.9301, allocations: 11.94 kB / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.9303, allocations: 191.3 kB / 1.366 GB, free: 2.902 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.9304, allocations: 97.28 kB / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.9304, allocations: 35.86 kB / 1.366 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.9306, allocations: 81.11 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.9306, allocations: 38.48 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.9306, allocations: 4 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001755/0.9308, allocations: 67.16 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.9309, allocations: 154.2 kB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.057e-05/0.9309, allocations: 85 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.9309, allocations: 34.42 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.931, allocations: 80.3 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.931, allocations: 15.75 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.931, allocations: 3.062 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.9311, allocations: 322.8 kB / 1.367 GB, free: 1.77 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.9311, allocations: 4 kB / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.9312, allocations: 36.73 kB / 1.367 GB, free: 1.719 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.9312, allocations: 15.11 kB / 1.367 GB, free: 1.707 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.9312, allocations: 4 kB / 1.367 GB, free: 1.703 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.507e-05/0.9313, allocations: 68.67 kB / 1.367 GB, free: 1.633 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9313, allocations: 4 kB / 1.367 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9314, allocations: 0 / 1.367 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.9314, allocations: 4 kB / 1.367 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.9315, allocations: 16.14 kB / 1.367 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9315, allocations: 0 / 1.367 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.9315, allocations: 4 kB / 1.367 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.9315, allocations: 0 / 1.367 GB, free: 1.605 MB / 0.823 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 () * 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 6.104e-05/0.9316, allocations: 112.5 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.9316, allocations: 3.938 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.9318, allocations: 111.7 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9318, allocations: 0 / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9318, allocations: 4 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9318, allocations: 0 / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.932, allocations: 166.9 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.932, allocations: 0 / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.932, allocations: 19.98 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9321, allocations: 4.156 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.9321, allocations: 7.062 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9321, allocations: 4.938 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9321, allocations: 4 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.9322, allocations: 170.7 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.9323, allocations: 88.95 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.9323, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.9323, allocations: 3.75 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.9324, allocations: 15.94 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.9324, allocations: 4 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.9324, allocations: 79.28 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of sort global known variables: time 3e-07/0.9324, allocations: 0 / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001857/0.9326, allocations: 11.56 kB / 1.368 GB, free: 0.7266 MB / 0.823 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 () * 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.0005568/0.9332, allocations: 0.9771 MB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.9333, allocations: 43.52 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9333, allocations: 0 / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.9333, allocations: 23.25 kB / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.9334, allocations: 7.75 kB / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.9338, allocations: 151.7 kB / 1.369 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.934, allocations: 0.6848 MB / 1.37 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.9341, allocations: 8 kB / 1.37 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.9341, allocations: 18.48 kB / 1.37 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.9341, allocations: 0 / 1.37 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.9455, allocations: 1.215 MB / 1.371 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.9457, allocations: 159.5 kB / 1.371 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/2.319, allocations: 0 / 1.371 GB, free: 13.41 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat does not exist to compare? outputFormat=mat