Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.484/2.484, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.0019/0.0019, allocations: 187.9 kB / 0.4901 GB, free: 2.246 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.614/1.614, allocations: 223.1 MB / 0.7992 GB, free: 14.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.000908/0.0009079, allocations: 92.33 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005141, allocations: 14.09 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2873, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.472, allocations: 150.2 MB / 1.376 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4722, allocations: 75.95 kB / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004658/0.4769, allocations: 1.539 MB / 1.378 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4769, allocations: 0 / 1.378 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.477, allocations: 0 / 1.378 GB, free: 1.762 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004284/0.4774, allocations: 363.3 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4774, allocations: 12.56 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.4775, allocations: 30.56 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.031e-05/0.4775, allocations: 3.906 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4776, allocations: 170.9 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4777, allocations: 4 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.4777, allocations: 0 / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4779, allocations: 57.67 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4779, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4779, allocations: 3.984 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4779, allocations: 0 / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.4781, allocations: 47.95 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.4786, allocations: 274.6 kB / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4787, allocations: 50.5 kB / 1.379 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/0.4793, allocations: 437.5 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.4794, allocations: 34.56 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 4.428e-06/0.4794, allocations: 4 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004403/0.4798, allocations: 89.72 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4799, allocations: 55.47 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.48, allocations: 101 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.48, allocations: 29.7 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.4801, allocations: 84.12 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.4801, allocations: 3.906 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.4801, allocations: 7.938 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4803, allocations: 310.8 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.764e-05/0.4803, allocations: 23.98 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.4804, allocations: 23.97 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.4805, allocations: 19.98 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4805, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.4808, allocations: 81.64 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4808, allocations: 11.92 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4808, allocations: 4 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4808, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.4809, allocations: 15.97 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4809, allocations: 0 / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.481, allocations: 7.984 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.481, allocations: 7.953 kB / 1.38 GB, free: 15.12 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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 9.062e-05/0.4811, allocations: 105.8 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.4811, allocations: 4 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.4814, allocations: 88.77 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4814, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4814, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4814, allocations: 4 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.4816, allocations: 157.6 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4816, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.4817, allocations: 16.02 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4817, allocations: 0 / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.4817, allocations: 0 / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4817, allocations: 3.938 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4817, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.482, allocations: 179.5 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.482, allocations: 81.02 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.482, allocations: 0 / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.4821, allocations: 11.98 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.4822, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.4822, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.4822, allocations: 87.3 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4822, allocations: 0 / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002509/0.4825, allocations: 31.94 kB / 1.381 GB, free: 14.27 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 (2): * Single equations (assignments): 2 * 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.0006666/0.4832, allocations: 0.7329 MB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4834, allocations: 48 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4834, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.4835, allocations: 31.91 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.4837, allocations: 3.938 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.4841, allocations: 158.4 kB / 1.381 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.4844, allocations: 0.677 MB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.4844, allocations: 0 / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.4845, allocations: 7.438 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.4845, allocations: 0 / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.4961, allocations: 1.219 MB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/0.4964, allocations: 169.7 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.014, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat