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.018/2.018, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001212/0.001212, allocations: 172.9 kB / 496.1 MB, free: 12.85 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.307/1.307, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0008479/0.0008479, allocations: 95.5 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.677e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6925/0.9011, allocations: 149.5 MB / 1.365 GB, free: 4.621 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.9014, allocations: 74.14 kB / 1.365 GB, free: 4.578 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003152/0.9045, allocations: 1.286 MB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9046, allocations: 0 / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.9046, allocations: 0 / 1.366 GB, free: 3.465 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002046/0.9048, allocations: 330.4 kB / 1.366 GB, free: 3.098 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9048, allocations: 8.031 kB / 1.366 GB, free: 3.09 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.9049, allocations: 34.56 kB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.536e-05/0.9049, allocations: 0 / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.395e-05/0.905, allocations: 171 kB / 1.367 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.905, allocations: 7.984 kB / 1.367 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.905, allocations: 0 / 1.367 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.52e-05/0.9051, allocations: 28.83 kB / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.9051, allocations: 0 / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.9051, allocations: 0 / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.9051, allocations: 0 / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.9051, allocations: 4 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.966e-05/0.9052, allocations: 149.6 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.1e-05/0.9053, allocations: 26.11 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.9053, allocations: 4.859 kB / 1.367 GB, free: 2.562 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.9058, allocations: 452.9 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.9058, allocations: 30.56 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.9058, allocations: 0 / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 8.998e-05/0.9059, allocations: 29.7 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.906, allocations: 51.41 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.391e-05/0.906, allocations: 85 kB / 1.367 GB, free: 1.805 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.906, allocations: 29.64 kB / 1.368 GB, free: 1.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.906, allocations: 80.14 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.9061, allocations: 8.562 kB / 1.368 GB, free: 1.684 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-06/0.9061, allocations: 4 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.9062, allocations: 318.8 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.9062, allocations: 3.938 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.9062, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.418e-05/0.9062, allocations: 4 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.9062, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.216e-05/0.9063, allocations: 29.7 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.9063, allocations: 8.094 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.9063, allocations: 0 / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.9063, allocations: 0 / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.153e-05/0.9063, allocations: 4 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9063, allocations: 3.938 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-06/0.9064, allocations: 3.984 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-06/0.9064, allocations: 0 / 1.368 GB, free: 1.297 MB / 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 (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.755e-05/0.9064, allocations: 108.9 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.9064, allocations: 3.906 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.9065, allocations: 46.77 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.9065, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.9065, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.9065, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.086e-05/0.9066, allocations: 149.6 kB / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.9066, allocations: 0 / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.9066, allocations: 4 kB / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.9066, allocations: 0 / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.9066, allocations: 0 / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.9066, allocations: 0 / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9066, allocations: 0 / 1.368 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.638e-05/0.9067, allocations: 68.72 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.9067, allocations: 81.06 kB / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.9068, allocations: 0 / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.9068, allocations: 0 / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-06/0.9068, allocations: 0 / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.9068, allocations: 4 kB / 1.368 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.966e-05/0.9068, allocations: 75.31 kB / 1.368 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9068, allocations: 4 kB / 1.368 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001894/0.907, allocations: 27.55 kB / 1.369 GB, free: 0.6523 MB / 0.823 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.0003854/0.9074, allocations: 0.627 MB / 1.369 GB, free: 16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.931e-05/0.9075, allocations: 4 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9075, allocations: 0 / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-06/0.9075, allocations: 7.938 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.515e-05/0.9076, allocations: 4.672 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.9078, allocations: 86.41 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.908, allocations: 0.6809 MB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.119e-05/0.908, allocations: 0.875 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.908, allocations: 7.438 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of SimCode: time 1.282e-06/0.908, allocations: 0 / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009584/0.9176, allocations: 0.949 MB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.9178, allocations: 165 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.238/2.156, allocations: 0 / 1.371 GB, free: 14.1 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