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.001104/0.001104, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001505/0.001505, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.481/2.481, allocations: 409.4 MB / 0.684 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 19.98 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5774, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006272/0.5781, allocations: 309.6 kB / 0.9814 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.5785, allocations: 167.6 kB / 0.9816 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-06/0.5785, allocations: 0 / 0.9816 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.5785, allocations: 0 / 0.9816 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.5786, allocations: 4 kB / 0.9816 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.5789, allocations: 39.91 kB / 0.9816 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.276e-05/0.5789, allocations: 7.984 kB / 0.9816 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.5789, allocations: 0 / 0.9816 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.113e-05/0.579, allocations: 0 / 0.9816 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.579, allocations: 3.938 kB / 0.9817 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.521e-06/0.579, allocations: 0 / 0.9817 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.5792, allocations: 63.88 kB / 0.9817 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-06/0.5792, allocations: 0 / 0.9817 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.5792, allocations: 25.7 kB / 0.9817 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.5793, allocations: 27.91 kB / 0.9818 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5793, allocations: 0 / 0.9818 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5793, allocations: 4 kB / 0.9818 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.5793, allocations: 0 / 0.9818 GB, free: 5.609 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.0002243/0.5795, allocations: 319.4 kB / 0.9821 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5796, allocations: 8.031 kB / 0.9821 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.5796, allocations: 38.5 kB / 0.9821 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.749e-05/0.5796, allocations: 0 / 0.9821 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.5797, allocations: 159.1 kB / 0.9823 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.5797, allocations: 4 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.5798, allocations: 4 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.5798, allocations: 33.64 kB / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.5799, allocations: 0 / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.5799, allocations: 0 / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5799, allocations: 0 / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.5799, allocations: 4 kB / 0.9823 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.58, allocations: 145.7 kB / 0.9825 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.258e-05/0.5801, allocations: 22.52 kB / 0.9825 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.5801, allocations: 8.953 kB / 0.9825 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.5807, allocations: 457.5 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.5807, allocations: 30.56 kB / 0.9829 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5808, allocations: 4 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.5809, allocations: 37.56 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5809, allocations: 55.34 kB / 0.983 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.261e-05/0.581, allocations: 93.84 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.581, allocations: 25.7 kB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.581, allocations: 80.14 kB / 0.9832 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.581, allocations: 4 kB / 0.9832 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.581, allocations: 4 kB / 0.9832 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.5811, allocations: 315 kB / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.5811, allocations: 0 / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.5811, allocations: 0 / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.501e-05/0.5812, allocations: 4 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5812, allocations: 0 / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.14e-05/0.5812, allocations: 33.64 kB / 0.9836 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5812, allocations: 4 kB / 0.9836 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5813, allocations: 3.984 kB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5813, allocations: 3.938 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.5813, allocations: 12.05 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.5813, allocations: 3.938 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.5813, allocations: 0 / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.5814, allocations: 0 / 0.9836 GB, free: 3.41 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 5.717e-05/0.5814, allocations: 109.8 kB / 0.9837 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.5814, allocations: 4 kB / 0.9837 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.5815, allocations: 36.81 kB / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5815, allocations: 0 / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5815, allocations: 3.953 kB / 0.9837 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5815, allocations: 4.031 kB / 0.9838 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.5816, allocations: 141.7 kB / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5816, allocations: 0 / 0.9839 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.5816, allocations: 4 kB / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5816, allocations: 0 / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.5816, allocations: 0 / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5817, allocations: 3.984 kB / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5817, allocations: 0 / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.396e-05/0.5817, allocations: 73.03 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.5818, allocations: 77.11 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.5818, allocations: 0 / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.5818, allocations: 3.984 kB / 0.984 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.5818, allocations: 3.984 kB / 0.984 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5818, allocations: 4 kB / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.5818, allocations: 77.58 kB / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.5818, allocations: 0 / 0.9841 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001973/0.5821, allocations: 11.95 kB / 0.9841 GB, free: 2.766 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.0003752/0.5824, allocations: 0.6186 MB / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.721e-05/0.5825, allocations: 12.03 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5825, allocations: 0 / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.5825, allocations: 4 kB / 0.9848 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.5826, allocations: 0.7031 kB / 0.9848 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.5829, allocations: 108.2 kB / 0.9849 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.5831, allocations: 0.6731 MB / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.5831, allocations: 7.984 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.5832, allocations: 7.438 kB / 0.9855 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/0.5832, allocations: 0 / 0.9855 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009868/0.593, allocations: 0.9702 MB / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.5933, allocations: 199 kB / 0.9867 GB, free: 168 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.169, allocations: 0 / 0.9867 GB, free: 168 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