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.426/2.426, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001241/0.001241, allocations: 178.3 kB / 498.1 MB, free: 5.738 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.578/1.578, allocations: 223.1 MB / 0.7948 GB, free: 17.94 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.001002/0.001002, allocations: 104.2 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3311, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.5381, allocations: 148.7 MB / 1.368 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5384, allocations: 75.95 kB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004228/0.5427, allocations: 1.249 MB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5427, allocations: 0 / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.5427, allocations: 0 / 1.369 GB, free: 12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004163/0.5432, allocations: 331.4 kB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.064e-05/0.5433, allocations: 8.031 kB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.134e-05/0.5434, allocations: 34.55 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.5434, allocations: 4 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.5436, allocations: 167 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.5436, allocations: 0 / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.5436, allocations: 0 / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.5438, allocations: 29.7 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5438, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5438, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5438, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.5439, allocations: 4 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.5441, allocations: 161.6 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.5442, allocations: 18.52 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/0.545, allocations: 441.6 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.5451, allocations: 34.56 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.5451, allocations: 7.938 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001933/0.5453, allocations: 29.7 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.5453, allocations: 51.41 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.5454, allocations: 85 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5454, allocations: 29.64 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.5455, allocations: 80.14 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.5455, allocations: 11.83 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.5455, allocations: 4 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5457, allocations: 322.9 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.5457, allocations: 0 / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-06/0.5457, allocations: 0 / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.5458, allocations: 3.953 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5458, allocations: 0 / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.617e-05/0.5459, allocations: 33.7 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5459, allocations: 4 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5459, allocations: 0 / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.5459, allocations: 3.984 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.546, allocations: 12.08 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.546, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.546, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.546, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 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 (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 0.0001016/0.5461, allocations: 113.8 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.5462, allocations: 4 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.5463, allocations: 36.77 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5463, allocations: 0 / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.5463, allocations: 8.016 kB / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5463, allocations: 0 / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.5465, allocations: 145.7 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5465, allocations: 3.953 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.5465, allocations: 4 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5465, allocations: 0 / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5465, allocations: 0 / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5465, allocations: 0 / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.5466, allocations: 0 / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.5467, allocations: 69.06 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.5467, allocations: 81.06 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5468, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.5468, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.5468, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.5468, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.5469, allocations: 79.22 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5469, allocations: 0 / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002624/0.5471, allocations: 31.92 kB / 1.372 GB, free: 9.145 MB / 0.8698 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 (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.0006895/0.5478, allocations: 0.6279 MB / 1.372 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.456e-05/0.5479, allocations: 11.92 kB / 1.372 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.548, allocations: 0 / 1.372 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.548, allocations: 0 / 1.372 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.5481, allocations: 0 / 1.372 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.5485, allocations: 120.3 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5489, allocations: 0.6692 MB / 1.373 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.5489, allocations: 4 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.5489, allocations: 11.56 kB / 1.373 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.5489, allocations: 0 / 1.373 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.5629, allocations: 0.9333 MB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.5631, allocations: 177 kB / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.152, allocations: 7.938 kB / 1.374 GB, free: 6.551 MB / 0.8698 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