Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.021/2.021, allocations: 390.5 MB / 398 MB, free: 10.98 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.0009674/0.0009674, allocations: 183.7 kB / 491.2 MB, free: 1.605 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.272/1.272, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0008351/0.0008348, allocations: 99.7 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.707e-05, allocations: 12 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2372, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7371/0.9743, allocations: 148.8 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.9746, allocations: 76.7 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00355/0.9782, allocations: 1.272 MB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9782, allocations: 0 / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.9782, allocations: 0 / 1.359 GB, free: 33.23 MB / 0.8386 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.0001906/0.9784, allocations: 337.3 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.9784, allocations: 7.75 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.9785, allocations: 1.5 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.021e-05/0.9785, allocations: 163 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.9785, allocations: 0 / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.9786, allocations: 0 / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.352e-05/0.9786, allocations: 5.484 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.352e-05/0.9787, allocations: 29.64 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.9787, allocations: 0 / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.9787, allocations: 0 / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.9787, allocations: 4 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.056e-05/0.9788, allocations: 137.1 kB / 1.36 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.633e-05/0.9788, allocations: 15.42 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.9788, allocations: 4.859 kB / 1.36 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.9793, allocations: 452.6 kB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.9794, allocations: 30.56 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.9794, allocations: 0 / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.9795, allocations: 34.98 kB / 1.36 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.336e-05/0.9795, allocations: 51.41 kB / 1.36 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.29e-05/0.9796, allocations: 85.66 kB / 1.36 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.9796, allocations: 25.7 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.9796, allocations: 84.17 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.9796, allocations: 0.7812 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.9796, allocations: 0 / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.9797, allocations: 318.7 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.9797, allocations: 0 / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-06/0.9797, allocations: 0 / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.9797, allocations: 0.6094 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9798, allocations: 7.75 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.229e-05/0.9798, allocations: 35.03 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9798, allocations: 10.27 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.9798, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.9799, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.9799, allocations: 8.531 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9799, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.9799, allocations: 8.734 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.9799, allocations: 3.984 kB / 1.361 GB, free: 31.25 MB / 0.8386 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 () * 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 4.193e-05/0.98, allocations: 101 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.467e-05/0.98, allocations: 43.08 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.98, allocations: 0.6094 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.9801, allocations: 39.23 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9801, allocations: 0 / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.9801, allocations: 3.938 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9801, allocations: 0 / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.391e-05/0.9802, allocations: 123.7 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9802, allocations: 3.953 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.9802, allocations: 4.578 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9802, allocations: 0 / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.9802, allocations: 6.859 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9802, allocations: 0 / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.9802, allocations: 0 / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.337e-05/0.9803, allocations: 58.36 kB / 1.361 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.9803, allocations: 81.67 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.9803, allocations: 0.6562 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/0.9803, allocations: 0 / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.9804, allocations: 0.7969 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.9804, allocations: 7.594 kB / 1.361 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.934e-05/0.9804, allocations: 75.28 kB / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9804, allocations: 0 / 1.361 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001984/0.9806, allocations: 20.77 kB / 1.361 GB, free: 30.66 MB / 0.8386 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 () * 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.0003512/0.981, allocations: 0.6367 MB / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.68e-05/0.981, allocations: 4.516 kB / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.981, allocations: 0 / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.981, allocations: 0 / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.238e-05/0.9811, allocations: 3 kB / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.9813, allocations: 96.08 kB / 1.362 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.9815, allocations: 0.6717 MB / 1.363 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.638e-06/0.9815, allocations: 0 / 1.363 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.111e-05/0.9815, allocations: 15.25 kB / 1.363 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/0.9815, allocations: 0 / 1.363 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.9974, allocations: 0.6461 MB / 1.363 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/0.9976, allocations: 140 kB / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.252/2.249, allocations: 3.938 kB / 1.364 GB, free: 28.99 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat