Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.0009721/0.0009721, allocations: 91.61 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.001239/0.001239, 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.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.551/2.551, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003845, allocations: 19.94 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6883, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00167/0.69, allocations: 1.145 MB / 0.9822 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005399/0.6906, allocations: 230.5 kB / 0.9825 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.6906, allocations: 4 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.6907, allocations: 3.938 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.6907, allocations: 0 / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.6911, allocations: 39.91 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.6911, allocations: 27.91 kB / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.6912, allocations: 0 / 0.9825 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.6913, allocations: 7.984 kB / 0.9825 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.6913, allocations: 15.94 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.6913, allocations: 0 / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.6915, allocations: 59.88 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.6915, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.6916, allocations: 33.7 kB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.6917, allocations: 39.92 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6917, allocations: 0 / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6917, allocations: 0 / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6917, allocations: 0 / 0.9827 GB, free: 4.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000456/0.6922, allocations: 349.6 kB / 0.983 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6922, allocations: 8.031 kB / 0.983 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.6923, allocations: 34.5 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.6923, allocations: 0 / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6924, allocations: 171 kB / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.6924, allocations: 0 / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.6924, allocations: 3.984 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.6926, allocations: 61.62 kB / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6927, allocations: 0 / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6927, allocations: 0 / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.6927, allocations: 4 kB / 0.9833 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.6929, allocations: 47.95 kB / 0.9833 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.6933, allocations: 248.8 kB / 0.9836 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.6934, allocations: 54.44 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.6935, allocations: 32.91 kB / 0.9837 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.6942, allocations: 449.4 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6943, allocations: 38.55 kB / 0.9841 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.6943, allocations: 4 kB / 0.9841 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003655/0.6946, allocations: 93.59 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.6947, allocations: 55.53 kB / 0.9843 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.6948, allocations: 101.8 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.6948, allocations: 29.7 kB / 0.9844 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.6949, allocations: 80.14 kB / 0.9845 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.6949, allocations: 3.906 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.6949, allocations: 0 / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.695, allocations: 318.8 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.6951, allocations: 23.98 kB / 0.9848 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.6952, allocations: 19.98 kB / 0.9848 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.6953, allocations: 19.98 kB / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6953, allocations: 0 / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002105/0.6955, allocations: 81.67 kB / 0.9849 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6955, allocations: 5.875 kB / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.6955, allocations: 8 kB / 0.9849 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6956, allocations: 3.938 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.6957, allocations: 16.02 kB / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6957, allocations: 0 / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.6957, allocations: 11.98 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6957, allocations: 4 kB / 0.985 GB, free: 1.992 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 (2): * Single equations (assignments): 2 * 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 7.924e-05/0.6958, allocations: 105.8 kB / 0.9851 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.6959, allocations: 3.953 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.6961, allocations: 84.78 kB / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6961, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6961, allocations: 0 / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6961, allocations: 4 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.6963, allocations: 165.5 kB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6963, allocations: 0 / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.6964, allocations: 15.97 kB / 0.9853 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6964, allocations: 0 / 0.9853 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.6964, allocations: 7.938 kB / 0.9853 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6964, allocations: 0 / 0.9853 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6964, allocations: 0 / 0.9853 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.6967, allocations: 179.5 kB / 0.9855 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.6968, allocations: 77.11 kB / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.6968, allocations: 0 / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.6969, allocations: 11.95 kB / 0.9856 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.6969, allocations: 3.984 kB / 0.9856 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.6969, allocations: 192 / 0.9856 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.697, allocations: 87.3 kB / 0.9857 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/0.697, allocations: 0 / 0.9857 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000234/0.6972, allocations: 12 kB / 0.9857 GB, free: 1.152 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 (2): * Single equations (assignments): 2 * 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.0006767/0.6979, allocations: 0.728 MB / 0.9864 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.6981, allocations: 55.98 kB / 0.9865 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6981, allocations: 0 / 0.9865 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.6982, allocations: 19.98 kB / 0.9865 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.6985, allocations: 5.359 kB / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.6989, allocations: 150.3 kB / 0.9866 GB, free: 132 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.6992, allocations: 0.677 MB / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.6992, allocations: 0 / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.6992, allocations: 7.438 kB / 0.9873 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.6992, allocations: 0 / 0.9873 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.7109, allocations: 1.25 MB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.7112, allocations: 184 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.404, allocations: 0 / 0.9887 GB, free: 14.04 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat