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.071/2.071, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.00115/0.001151, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.001011/0.001011, allocations: 96 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.554e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9635/1.186, allocations: 150.2 MB / 1.365 GB, free: 3.934 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.186, allocations: 70.78 kB / 1.366 GB, free: 3.898 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004468/1.191, allocations: 1.532 MB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.443e-06/1.191, allocations: 4 kB / 1.367 GB, free: 2.555 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.191, allocations: 0 / 1.367 GB, free: 2.555 MB / 0.823 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.0003474/1.191, allocations: 349.2 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.191, allocations: 12.03 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/1.191, allocations: 38.3 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/1.191, allocations: 4.719 kB / 1.367 GB, free: 2.113 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/1.191, allocations: 170.9 kB / 1.368 GB, free: 1.906 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/1.191, allocations: 4 kB / 1.368 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/1.191, allocations: 0 / 1.368 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/1.191, allocations: 41.5 kB / 1.368 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.191, allocations: 0 / 1.368 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/1.191, allocations: 0 / 1.368 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.191, allocations: 0 / 1.368 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/1.191, allocations: 11.75 kB / 1.368 GB, free: 1.852 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/1.192, allocations: 269.2 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.6e-05/1.192, allocations: 29.86 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/1.192, allocations: 8.922 kB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/1.192, allocations: 444.3 kB / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.192, allocations: 33.31 kB / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/1.192, allocations: 0 / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/1.193, allocations: 44.58 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/1.193, allocations: 55.36 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/1.193, allocations: 96.55 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.193, allocations: 25.7 kB / 1.369 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/1.193, allocations: 96.03 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/1.193, allocations: 7.906 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.193, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.193, allocations: 313.8 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/1.193, allocations: 7.375 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/1.193, allocations: 0 / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.729e-05/1.193, allocations: 4 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.193, allocations: 0 / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.047e-05/1.193, allocations: 51.94 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.193, allocations: 8.031 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.193, allocations: 0 / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.193, allocations: 0 / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/1.193, allocations: 11.98 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.193, allocations: 4 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/1.193, allocations: 7.953 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/1.193, allocations: 3.984 kB / 1.369 GB, free: 192 kB / 0.823 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 (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 6.19e-05/1.193, allocations: 109 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/1.193, allocations: 11.83 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.658e-05/1.194, allocations: 42.77 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.194, allocations: 7.922 kB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.194, allocations: 4 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.194, allocations: 0 / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/1.194, allocations: 160.8 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.194, allocations: 0 / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/1.194, allocations: 16.02 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.194, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.194, allocations: 4.312 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.194, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.194, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/1.194, allocations: 138.9 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/1.194, allocations: 77.11 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/1.194, allocations: 4 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/1.194, allocations: 15.2 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/1.194, allocations: 8 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/1.194, allocations: 0 / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.79e-05/1.194, allocations: 79.28 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.194, allocations: 3.938 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000234/1.194, allocations: 23.31 kB / 1.37 GB, free: 15.43 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 (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.0004649/1.195, allocations: 0.696 MB / 1.37 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.635e-05/1.195, allocations: 15.25 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.195, allocations: 4.094 kB / 1.37 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/1.195, allocations: 7.938 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.195, allocations: 7.312 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/1.196, allocations: 113.2 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/1.196, allocations: 0.677 MB / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.218e-05/1.196, allocations: 4 kB / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/1.196, allocations: 10.56 kB / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of SimCode: time 4.8e-07/1.196, allocations: 4.062 kB / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/1.207, allocations: 1.219 MB / 1.372 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.208, allocations: 142.2 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/2.586, allocations: 3.938 kB / 1.373 GB, free: 12.49 MB / 0.8386 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