Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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 2.386/2.386, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001236/0.001236, allocations: 188 kB / 0.4901 GB, free: 2.238 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.497/1.497, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001014/0.001014, allocations: 92.2 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003591, allocations: 11.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3082, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5051, allocations: 149.5 MB / 1.375 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5054, allocations: 71.95 kB / 1.375 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003584/0.509, allocations: 1.246 MB / 1.377 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.938e-06/0.509, allocations: 0 / 1.377 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5091, allocations: 11.94 kB / 1.377 GB, free: 2.695 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003017/0.5094, allocations: 335.3 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.5094, allocations: 12.56 kB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.5095, allocations: 30.56 kB / 1.377 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.885e-05/0.5095, allocations: 0 / 1.377 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.5096, allocations: 163 kB / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5096, allocations: 0 / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.5096, allocations: 0 / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.5098, allocations: 33.69 kB / 1.377 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.5098, allocations: 4 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.5098, allocations: 0 / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5098, allocations: 0 / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.5098, allocations: 0 / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.51, allocations: 153.6 kB / 1.377 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.51, allocations: 20.14 kB / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.5107, allocations: 449.5 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5107, allocations: 34.55 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5107, allocations: 0 / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.5109, allocations: 33.64 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.5109, allocations: 55.41 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.484e-05/0.511, allocations: 85 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.511, allocations: 29.83 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.511, allocations: 80.14 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.511, allocations: 3.938 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5111, allocations: 4 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5112, allocations: 310.8 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.5112, allocations: 0 / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.5112, allocations: 4 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.5112, allocations: 3.953 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5112, allocations: 64 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.69e-05/0.5113, allocations: 37.69 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5113, allocations: 8 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5113, allocations: 0 / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5114, allocations: 3.938 kB / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.5114, allocations: 3.938 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5114, allocations: 0 / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.5114, allocations: 4 kB / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.5114, allocations: 0 / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.326e-05/0.5115, allocations: 113.8 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.5115, allocations: 11.89 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.5116, allocations: 36.81 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5117, allocations: 0 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.5117, allocations: 0 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5117, allocations: 4 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.666e-05/0.5118, allocations: 145.7 kB / 1.379 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5118, allocations: 3.953 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.5118, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5119, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.5119, allocations: 8.031 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5119, allocations: 3.938 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5119, allocations: 4 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.686e-05/0.512, allocations: 57.12 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.512, allocations: 81.06 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.5121, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-06/0.5121, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.5121, allocations: 4.031 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.5121, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.5121, allocations: 75.28 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5121, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002339/0.5124, allocations: 23.94 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004746/0.5129, allocations: 0.6327 MB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.04e-05/0.5129, allocations: 4 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5129, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.5129, allocations: 7.938 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.834e-05/0.513, allocations: 4.984 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.5133, allocations: 116.3 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.5136, allocations: 0.677 MB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.5136, allocations: 3.938 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.5137, allocations: 7.438 kB / 1.38 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5137, allocations: 4 kB / 1.38 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.5258, allocations: 0.9263 MB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.526, allocations: 190.8 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.054, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat