Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",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.345/2.345, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.00144/0.00144, allocations: 180 kB / 0.4901 GB, free: 2.227 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.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.000946/0.000946, allocations: 98.8 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 11.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2575, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.4442, allocations: 150.2 MB / 1.376 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4446, allocations: 71.95 kB / 1.376 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005035/0.4496, allocations: 1.58 MB / 1.378 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.526e-06/0.4497, allocations: 3.938 kB / 1.378 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4497, allocations: 0 / 1.378 GB, free: 1.5 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.0004204/0.4501, allocations: 367.3 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4501, allocations: 8.562 kB / 1.378 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.4502, allocations: 30.56 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.4502, allocations: 7.906 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.4504, allocations: 163 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4504, allocations: 3.938 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.4504, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.4506, allocations: 57.67 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4506, allocations: 4 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.4506, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4506, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.4508, allocations: 43.95 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.4512, allocations: 268.9 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4514, allocations: 46.53 kB / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.452, allocations: 449.5 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4521, allocations: 30.56 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4521, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.4525, allocations: 101.6 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4525, allocations: 51.41 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.4526, allocations: 104.9 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.4526, allocations: 29.83 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.4527, allocations: 80.14 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.4527, allocations: 3.906 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.4527, allocations: 3.938 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4528, allocations: 318.8 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.4529, allocations: 15.98 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.453, allocations: 31.97 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.4531, allocations: 15.98 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4531, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/0.4533, allocations: 85.62 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4533, allocations: 8 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4533, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4533, allocations: 3.938 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.4534, allocations: 8 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.4535, allocations: 3.984 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.4535, allocations: 15.97 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4535, allocations: 3.953 kB / 1.38 GB, free: 14.87 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 7.378e-05/0.4536, allocations: 105.8 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4536, allocations: 4.188 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.4539, allocations: 92.75 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4539, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4539, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.4539, allocations: 4 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.4541, allocations: 157.6 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4541, allocations: 0 / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.4542, allocations: 11.98 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4542, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4542, allocations: 4.031 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4542, allocations: 4 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4542, allocations: 0 / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.4545, allocations: 179.4 kB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.4545, allocations: 81.02 kB / 1.38 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.4545, allocations: 0 / 1.38 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.4546, allocations: 11.98 kB / 1.38 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.4547, allocations: 0 / 1.38 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4547, allocations: 0 / 1.38 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.4547, allocations: 83.27 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4547, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002461/0.455, allocations: 35.91 kB / 1.381 GB, free: 14.02 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.0006984/0.4557, allocations: 0.7404 MB / 1.381 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4559, allocations: 51.95 kB / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4559, allocations: 0 / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.456, allocations: 23.98 kB / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.4562, allocations: 0 / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.4567, allocations: 158.4 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.4569, allocations: 0.6809 MB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.457, allocations: 0 / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.457, allocations: 11.42 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.457, allocations: 0 / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.4691, allocations: 1.211 MB / 1.383 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.4694, allocations: 180.8 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.989, allocations: 3.938 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat