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.333/2.333, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001085/0.001085, allocations: 195.4 kB / 0.4901 GB, free: 2.219 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.505/1.505, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001036/0.001036, allocations: 101 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 14.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.331, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.538, allocations: 149.5 MB / 1.375 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5383, allocations: 75.95 kB / 1.375 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003793/0.5421, allocations: 1.285 MB / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5421, allocations: 4 kB / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.5421, allocations: 0 / 1.377 GB, free: 2.547 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.000349/0.5425, allocations: 339.3 kB / 1.377 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5425, allocations: 8.562 kB / 1.377 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.5426, allocations: 30.56 kB / 1.377 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.5426, allocations: 3.984 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.5427, allocations: 167 kB / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5428, allocations: 0 / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.5428, allocations: 0 / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.5429, allocations: 31.3 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5429, allocations: 0 / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.5429, allocations: 0 / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5429, allocations: 4 kB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.543, allocations: 11.86 kB / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.5431, allocations: 153.6 kB / 1.377 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/0.5432, allocations: 18.61 kB / 1.377 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/0.5439, allocations: 445.5 kB / 1.378 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.544, allocations: 34.56 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.544, allocations: 0 / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.5441, allocations: 37.62 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.5442, allocations: 55.53 kB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.04e-05/0.5442, allocations: 89 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.5443, allocations: 25.7 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.5443, allocations: 80.14 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.5443, allocations: 0 / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.5444, allocations: 4 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5445, allocations: 310.8 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.5445, allocations: 0 / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.5445, allocations: 3.938 kB / 1.378 GB, free: 440 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.5446, allocations: 12.02 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5446, allocations: 0 / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.788e-05/0.5446, allocations: 37.62 kB / 1.378 GB, free: 384 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5447, allocations: 5.875 kB / 1.378 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5447, allocations: 0 / 1.378 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5447, allocations: 0 / 1.378 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.5448, allocations: 4 kB / 1.378 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5448, allocations: 0 / 1.378 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.5448, allocations: 4 kB / 1.378 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5448, allocations: 4.031 kB / 1.378 GB, free: 368 kB / 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.0001082/0.5449, allocations: 110.3 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.5449, allocations: 7.906 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.545, allocations: 40.75 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5451, allocations: 0 / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5451, allocations: 4 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5451, allocations: 0 / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.5452, allocations: 145.7 kB / 1.379 GB, free: 16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5452, allocations: 3.953 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.5453, allocations: 15.95 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5453, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5453, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5453, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5453, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.5454, allocations: 53.14 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.5454, allocations: 81.06 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.5455, allocations: 3.984 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.5455, allocations: 11.97 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.5455, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5455, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.5456, allocations: 79.28 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5456, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002568/0.5458, allocations: 20 kB / 1.379 GB, free: 15.7 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 (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.0005839/0.5464, allocations: 0.6326 MB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.525e-05/0.5465, allocations: 4 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5465, allocations: 96 / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.5465, allocations: 8 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.291e-05/0.5466, allocations: 0 / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.547, allocations: 120.3 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5472, allocations: 0.677 MB / 1.38 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.5473, allocations: 4 kB / 1.38 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.5473, allocations: 7.438 kB / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5473, allocations: 0 / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.5598, allocations: 0.9391 MB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.56, allocations: 178.8 kB / 1.381 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.114, allocations: 0 / 1.381 GB, free: 13.1 MB / 0.8855 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