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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008799/0.0008798, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7025, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0006288/0.7032, allocations: 325.5 kB / 0.9815 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002183/0.7034, allocations: 63.77 kB / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.7035, allocations: 0 / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.7035, allocations: 0 / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.7035, allocations: 0 / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.7037, allocations: 19.97 kB / 0.9815 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.7037, allocations: 7.938 kB / 0.9815 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.7038, allocations: 8 kB / 0.9816 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.761e-05/0.7038, allocations: 8 kB / 0.9816 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.7039, allocations: 7.969 kB / 0.9816 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.7039, allocations: 4 kB / 0.9816 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.697e-05/0.704, allocations: 11.98 kB / 0.9816 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.704, allocations: 7.938 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.704, allocations: 25.7 kB / 0.9816 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.544e-05/0.7041, allocations: 11.98 kB / 0.9816 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7041, allocations: 0 / 0.9816 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7041, allocations: 0 / 0.9816 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.7041, allocations: 0 / 0.9816 GB, free: 5.777 MB / 0.7325 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.0002995/0.7044, allocations: 331.3 kB / 0.9819 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7044, allocations: 8.031 kB / 0.982 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.7045, allocations: 30.56 kB / 0.982 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.7045, allocations: 4 kB / 0.982 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.7046, allocations: 163.1 kB / 0.9821 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.7046, allocations: 0 / 0.9821 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.7046, allocations: 4 kB / 0.9821 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.7047, allocations: 85.81 kB / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7048, allocations: 0 / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.7048, allocations: 0 / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.7048, allocations: 0 / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.7048, allocations: 15.92 kB / 0.9822 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.705, allocations: 179.5 kB / 0.9824 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.7051, allocations: 97 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.7051, allocations: 36.42 kB / 0.9825 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.7053, allocations: 89.08 kB / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7054, allocations: 38.5 kB / 0.9827 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 2.455e-06/0.7054, allocations: 3.984 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001895/0.7056, allocations: 81.78 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.7056, allocations: 154.2 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.27e-05/0.7057, allocations: 89.86 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.7057, allocations: 29.64 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.7057, allocations: 86.44 kB / 0.9831 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.7058, allocations: 15.75 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.7058, allocations: 3.938 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.7059, allocations: 319.2 kB / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.7059, allocations: 7.984 kB / 0.9834 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.7059, allocations: 32.3 kB / 0.9834 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.706, allocations: 12 kB / 0.9835 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.706, allocations: 4 kB / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.894e-05/0.7061, allocations: 69.45 kB / 0.9835 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7061, allocations: 5.719 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7061, allocations: 4 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7061, allocations: 0 / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.7062, allocations: 16.08 kB / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.7062, allocations: 3.984 kB / 0.9836 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.7063, allocations: 4 kB / 0.9836 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.7063, allocations: 12.16 kB / 0.9836 GB, free: 3.426 MB / 0.7325 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 6.32e-05/0.7063, allocations: 109.8 kB / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.7064, allocations: 4 kB / 0.9837 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.7065, allocations: 100.7 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7066, allocations: 0 / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7066, allocations: 7.953 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7066, allocations: 3.938 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.7067, allocations: 165.6 kB / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7067, allocations: 4 kB / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.7068, allocations: 19.98 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.7068, allocations: 0 / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.7068, allocations: 7.938 kB / 0.984 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.7068, allocations: 3.984 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7068, allocations: 8.125 kB / 0.984 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.707, allocations: 120.4 kB / 0.9841 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.707, allocations: 85.05 kB / 0.9842 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.707, allocations: 4 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.746e-05/0.7071, allocations: 8 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.7071, allocations: 11.94 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.7071, allocations: 8 kB / 0.9842 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.7071, allocations: 75.28 kB / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7071, allocations: 0 / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002091/0.7073, allocations: 8 kB / 0.9843 GB, free: 2.574 MB / 0.7325 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.0004109/0.7078, allocations: 0.6664 MB / 0.9849 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.7079, allocations: 36.11 kB / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7079, allocations: 0 / 0.985 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.7079, allocations: 27.92 kB / 0.985 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.7081, allocations: 11.95 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.7085, allocations: 184.2 kB / 0.9852 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.7087, allocations: 0.6809 MB / 0.9859 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.7087, allocations: 7.984 kB / 0.9859 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.7088, allocations: 11.44 kB / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7088, allocations: 4 kB / 0.9859 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.72, allocations: 1.223 MB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.7202, allocations: 190.3 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.44, allocations: 4 kB / 0.9873 GB, free: 15.5 MB / 0.7481 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) Environment - environmentSimulation: 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