Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001083/0.001083, allocations: 184.8 kB / 487.4 MB, free: 5.066 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.442/1.442, allocations: 221.5 MB / 0.7824 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008673, allocations: 99.83 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.931e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2887, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9983/1.287, allocations: 147.9 MB / 1.351 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.287, allocations: 72.47 kB / 1.351 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003815/1.291, allocations: 1.234 MB / 1.352 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.291, allocations: 0 / 1.352 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/1.291, allocations: 1.344 kB / 1.352 GB, free: 33.91 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.000238/1.292, allocations: 328.8 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.292, allocations: 13 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/1.292, allocations: 2 kB / 1.352 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/1.292, allocations: 163.6 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.292, allocations: 0 / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/1.292, allocations: 5.938 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.611e-05/1.292, allocations: 1.344 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.141e-05/1.292, allocations: 31.61 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.292, allocations: 0 / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/1.292, allocations: 0 / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.292, allocations: 2.016 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/1.292, allocations: 137.5 kB / 1.352 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/1.292, allocations: 17.7 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/1.292, allocations: 9.953 kB / 1.352 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/1.292, allocations: 440.2 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/1.293, allocations: 36.42 kB / 1.353 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/1.293, allocations: 0 / 1.353 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/1.293, allocations: 34.8 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/1.293, allocations: 51.41 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.222e-05/1.293, allocations: 86.97 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/1.293, allocations: 25.7 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/1.293, allocations: 80.14 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.293, allocations: 10.06 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/1.293, allocations: 0 / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/1.293, allocations: 314.8 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/1.293, allocations: 1.312 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/1.293, allocations: 1.312 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/1.293, allocations: 2.141 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-06/1.293, allocations: 0 / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.234e-05/1.293, allocations: 36.44 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.293, allocations: 6.75 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/1.293, allocations: 4.094 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.293, allocations: 0.7969 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/1.293, allocations: 5.25 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.293, allocations: 1.953 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-06/1.293, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/1.293, allocations: 1.312 kB / 1.354 GB, free: 31.95 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 5.216e-05/1.293, allocations: 101.7 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.501e-05/1.293, allocations: 36.2 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/1.293, allocations: 2.016 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/1.293, allocations: 45.92 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.293, allocations: 4.641 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.293, allocations: 0 / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/1.293, allocations: 1.312 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.905e-05/1.293, allocations: 123.7 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/1.293, allocations: 1.312 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/1.293, allocations: 2 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.293, allocations: 7.891 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/1.293, allocations: 4.25 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.293, allocations: 7.969 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.294, allocations: 0.6094 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.885e-05/1.294, allocations: 56.19 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/1.294, allocations: 78.28 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/1.294, allocations: 5.234 kB / 1.354 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/1.294, allocations: 0.7969 kB / 1.354 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/1.294, allocations: 0 / 1.354 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/1.294, allocations: 5.25 kB / 1.354 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.692e-05/1.294, allocations: 75.98 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.294, allocations: 0 / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002113/1.294, allocations: 21.66 kB / 1.354 GB, free: 31.34 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.0004347/1.294, allocations: 0.623 MB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.406e-05/1.294, allocations: 7.125 kB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.294, allocations: 0 / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/1.294, allocations: 2.625 kB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.098e-05/1.295, allocations: 5.297 kB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/1.295, allocations: 88.69 kB / 1.355 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/1.295, allocations: 0.6736 MB / 1.356 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.879e-06/1.295, allocations: 0 / 1.356 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/1.295, allocations: 9.672 kB / 1.356 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.295, allocations: 0 / 1.356 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/1.312, allocations: 0.6443 MB / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.312, allocations: 136.5 kB / 1.356 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.749, allocations: 0 / 1.356 GB, free: 29.68 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat