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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001552, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.374/2.374, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3/3, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.000659, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9866/0.9873, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0008145/0.9881, allocations: 313.6 kB / 0.9812 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005059/0.9886, allocations: 175.6 kB / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.9887, allocations: 0 / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.9887, allocations: 0 / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.9887, allocations: 0 / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.9891, allocations: 43.83 kB / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.136e-05/0.9891, allocations: 0 / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.9892, allocations: 0 / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.9892, allocations: 0 / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.432e-05/0.9892, allocations: 0 / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.9892, allocations: 0 / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.9895, allocations: 67.88 kB / 0.9814 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.9895, allocations: 3.984 kB / 0.9814 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.9895, allocations: 25.7 kB / 0.9815 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.141e-05/0.9896, allocations: 19.97 kB / 0.9815 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.9896, allocations: 0 / 0.9815 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9896, allocations: 0 / 0.9815 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.9897, allocations: 0 / 0.9815 GB, free: 5.668 MB / 0.7325 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.000317/0.99, allocations: 319.4 kB / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.99, allocations: 8.031 kB / 0.9818 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.9901, allocations: 30.56 kB / 0.9818 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.9901, allocations: 7.938 kB / 0.9818 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.9902, allocations: 163 kB / 0.982 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.9903, allocations: 4 kB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.9903, allocations: 0 / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.9904, allocations: 33.59 kB / 0.982 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9904, allocations: 0 / 0.982 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.9904, allocations: 0 / 0.982 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9904, allocations: 0 / 0.982 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.9905, allocations: 7.984 kB / 0.982 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.9906, allocations: 149.7 kB / 0.9822 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.13e-05/0.9907, allocations: 18.61 kB / 0.9822 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/0.9916, allocations: 453.5 kB / 0.9826 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.9917, allocations: 42.56 kB / 0.9827 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.9917, allocations: 0 / 0.9827 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.9919, allocations: 41.5 kB / 0.9827 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.9919, allocations: 51.41 kB / 0.9828 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.28e-05/0.992, allocations: 89.86 kB / 0.9828 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.992, allocations: 25.7 kB / 0.9829 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.992, allocations: 80.14 kB / 0.9829 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.9921, allocations: 0 / 0.9829 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.9921, allocations: 0 / 0.9829 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9922, allocations: 323 kB / 0.9833 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.9923, allocations: 3.984 kB / 0.9833 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.9923, allocations: 0 / 0.9833 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.9923, allocations: 0 / 0.9833 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9923, allocations: 4 kB / 0.9833 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.47e-05/0.9924, allocations: 33.64 kB / 0.9833 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.9924, allocations: 4 kB / 0.9833 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9924, allocations: 0 / 0.9833 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.9925, allocations: 4.094 kB / 0.9833 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.9925, allocations: 4 kB / 0.9833 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9925, allocations: 3.953 kB / 0.9833 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.9925, allocations: 0 / 0.9833 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.9926, allocations: 0 / 0.9833 GB, free: 3.484 MB / 0.7325 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 9.258e-05/0.9927, allocations: 111.5 kB / 0.9834 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.9927, allocations: 7.984 kB / 0.9834 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.9928, allocations: 44.7 kB / 0.9835 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9928, allocations: 0 / 0.9835 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.9928, allocations: 4.031 kB / 0.9835 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.9928, allocations: 3.953 kB / 0.9835 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.993, allocations: 145.7 kB / 0.9836 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.993, allocations: 0 / 0.9836 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.993, allocations: 4 kB / 0.9836 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.993, allocations: 3.938 kB / 0.9836 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.993, allocations: 4 kB / 0.9836 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9931, allocations: 0 / 0.9836 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9931, allocations: 0 / 0.9836 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.9932, allocations: 69.08 kB / 0.9837 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.9932, allocations: 77.11 kB / 0.9838 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.9932, allocations: 0 / 0.9838 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.9933, allocations: 0 / 0.9838 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.9933, allocations: 0 / 0.9838 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.9933, allocations: 3.938 kB / 0.9838 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.9933, allocations: 77.72 kB / 0.9838 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9933, allocations: 4 kB / 0.9838 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000365/0.9937, allocations: 12.03 kB / 0.9839 GB, free: 2.828 MB / 0.7325 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.0005414/0.9943, allocations: 0.6199 MB / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.342e-05/0.9944, allocations: 12.03 kB / 0.9845 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9944, allocations: 0 / 0.9845 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.9944, allocations: 7.938 kB / 0.9845 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.9945, allocations: 0 / 0.9845 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.9949, allocations: 104.3 kB / 0.9846 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.9952, allocations: 0.6731 MB / 0.9852 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.293e-05/0.9952, allocations: 0 / 0.9852 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.9952, allocations: 7.438 kB / 0.9852 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.9953, allocations: 4.125 kB / 0.9853 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.302/2.297, allocations: 0.9499 MB / 0.9862 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/2.297, allocations: 187.8 kB / 0.9864 GB, free: 260 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/5.284, allocations: 0 / 0.9864 GB, free: 260 kB / 0.7325 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) Environment - environmentSimulation: 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