Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.999/1.999, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001275/0.001275, allocations: 176.9 kB / 496.1 MB, free: 12.87 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.338/1.338, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0008523/0.0008524, allocations: 95.89 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.631e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6843/0.895, allocations: 149.4 MB / 1.365 GB, free: 4.602 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.8952, allocations: 74.7 kB / 1.365 GB, free: 4.559 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003015/0.8983, allocations: 1.245 MB / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8983, allocations: 0 / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8983, allocations: 0 / 1.366 GB, free: 3.473 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.0001917/0.8985, allocations: 326.5 kB / 1.366 GB, free: 3.109 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.8985, allocations: 8.031 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.8986, allocations: 34.55 kB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.78e-05/0.8986, allocations: 0 / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.894e-05/0.8987, allocations: 174.2 kB / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.8987, allocations: 4 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.8987, allocations: 0 / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.661e-05/0.8988, allocations: 25.7 kB / 1.367 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.8988, allocations: 4 kB / 1.367 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.8988, allocations: 0 / 1.367 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.8988, allocations: 0 / 1.367 GB, free: 2.812 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.8988, allocations: 4.875 kB / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.8989, allocations: 152.8 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.899, allocations: 26.53 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.899, allocations: 4.859 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.8995, allocations: 444.3 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.8995, allocations: 30.56 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.8995, allocations: 0 / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 9.81e-05/0.8996, allocations: 29.7 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.8997, allocations: 55.16 kB / 1.367 GB, free: 1.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.475e-05/0.8997, allocations: 89.03 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.8997, allocations: 29.7 kB / 1.367 GB, free: 1.781 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.8997, allocations: 80.14 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.8998, allocations: 0.7812 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.8998, allocations: 0 / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.8999, allocations: 322.7 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-06/0.8999, allocations: 0 / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.8999, allocations: 4 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.8999, allocations: 4.062 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.8999, allocations: 0 / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.471e-05/0.9, allocations: 29.7 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9, allocations: 13.34 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.9, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.9, allocations: 3.938 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9001, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.9001, allocations: 6.734 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.9001, allocations: 4 kB / 1.368 GB, free: 1.312 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 5.259e-05/0.9001, allocations: 109 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.9001, allocations: 3.906 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.9002, allocations: 40.7 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9002, allocations: 0 / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.9002, allocations: 0 / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.9002, allocations: 0 / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.743e-05/0.9003, allocations: 156.6 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9003, allocations: 0 / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.9003, allocations: 0 / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.9004, allocations: 4.031 kB / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.9004, allocations: 0 / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9004, allocations: 4 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9004, allocations: 0 / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.64e-05/0.9004, allocations: 59.81 kB / 1.368 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.9005, allocations: 81.06 kB / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.9005, allocations: 0 / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.9005, allocations: 4 kB / 1.368 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.9005, allocations: 4.031 kB / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.9005, allocations: 0 / 1.368 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.9005, allocations: 75.28 kB / 1.368 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9006, allocations: 0 / 1.368 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001802/0.9007, allocations: 26.67 kB / 1.368 GB, free: 0.668 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.0003874/0.9011, allocations: 0.6268 MB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.549e-05/0.9012, allocations: 4 kB / 1.369 GB, free: 8 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9012, allocations: 0 / 1.369 GB, free: 8 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-06/0.9012, allocations: 4 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.283e-05/0.9013, allocations: 7.672 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.9015, allocations: 82.7 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.9017, allocations: 0.6809 MB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.088e-05/0.9017, allocations: 0 / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.9017, allocations: 8.641 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/0.9017, allocations: 0 / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.9118, allocations: 0.9452 MB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.912, allocations: 165.5 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.187/2.099, allocations: 0 / 1.371 GB, free: 14.12 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat