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.001452/0.001452, allocations: 99.86 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.001646/0.001646, allocations: 177.3 kB / 15.94 MB, free: 228 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.401/2.401, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.98/4.98, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005806/0.0005807, allocations: 12 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495/1.495, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003121/1.499, allocations: 1.145 MB / 0.982 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008861/1.5, allocations: 238.7 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/1.5, allocations: 0 / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/1.5, allocations: 3.938 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/1.5, allocations: 8 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/1.5, allocations: 31.95 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/1.5, allocations: 15.92 kB / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/1.501, allocations: 4 kB / 0.9823 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/1.501, allocations: 15.98 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/1.501, allocations: 7.922 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/1.501, allocations: 4 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/1.501, allocations: 63.88 kB / 0.9824 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/1.501, allocations: 0 / 0.9824 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/1.501, allocations: 25.7 kB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/1.501, allocations: 31.94 kB / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.501, allocations: 0 / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.969e-06/1.501, allocations: 0 / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.501, allocations: 0 / 0.9824 GB, free: 4.734 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.0007894/1.502, allocations: 357.5 kB / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.32e-05/1.502, allocations: 8.031 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/1.502, allocations: 34.56 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/1.502, allocations: 0 / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/1.503, allocations: 163.1 kB / 0.9829 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.503, allocations: 4 kB / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.503, allocations: 0 / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/1.503, allocations: 61.62 kB / 0.983 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.503, allocations: 0 / 0.983 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.503, allocations: 0 / 0.983 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.503, allocations: 3.984 kB / 0.983 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/1.503, allocations: 43.97 kB / 0.9831 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/1.504, allocations: 260.8 kB / 0.9833 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/1.504, allocations: 46.52 kB / 0.9833 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/1.505, allocations: 453.5 kB / 0.9838 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/1.505, allocations: 34.56 kB / 0.9838 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/1.505, allocations: 0 / 0.9838 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0006425/1.506, allocations: 101.6 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/1.506, allocations: 51.41 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.506, allocations: 97.86 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.506, allocations: 37.77 kB / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.506, allocations: 84.12 kB / 0.9842 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/1.506, allocations: 3.906 kB / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/1.506, allocations: 0 / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.507, allocations: 318.8 kB / 0.9845 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/1.507, allocations: 19.98 kB / 0.9845 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/1.507, allocations: 23.98 kB / 0.9845 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/1.507, allocations: 27.91 kB / 0.9845 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.507, allocations: 0 / 0.9845 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003074/1.507, allocations: 81.62 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/1.507, allocations: 4 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.507, allocations: 3.984 kB / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.507, allocations: 4 kB / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.508, allocations: 8 kB / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.508, allocations: 0 / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/1.508, allocations: 16.02 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/1.508, allocations: 4 kB / 0.9847 GB, free: 2.109 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 0.0001391/1.508, allocations: 105.8 kB / 0.9848 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/1.508, allocations: 3.953 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/1.508, allocations: 84.78 kB / 0.9848 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.508, allocations: 3.938 kB / 0.9848 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.508, allocations: 3.984 kB / 0.9849 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.508, allocations: 0 / 0.9849 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.509, allocations: 161.6 kB / 0.985 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.509, allocations: 0 / 0.985 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/1.509, allocations: 11.98 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/1.509, allocations: 0 / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/1.509, allocations: 11.98 kB / 0.985 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.509, allocations: 0 / 0.985 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.509, allocations: 0 / 0.985 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/1.509, allocations: 175.5 kB / 0.9852 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/1.51, allocations: 77.11 kB / 0.9853 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/1.51, allocations: 0 / 0.9853 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.51, allocations: 15.94 kB / 0.9853 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/1.51, allocations: 0 / 0.9853 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.51, allocations: 0 / 0.9853 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.734e-05/1.51, allocations: 83.27 kB / 0.9854 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.51, allocations: 3.938 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004671/1.51, allocations: 16 kB / 0.9854 GB, free: 1.27 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.001492/1.512, allocations: 0.7204 MB / 0.9861 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003227/1.512, allocations: 55.89 kB / 0.9861 GB, free: 480 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.512, allocations: 4 kB / 0.9861 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/1.512, allocations: 27.86 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/1.513, allocations: 5.672 kB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/1.513, allocations: 138.5 kB / 0.9863 GB, free: 260 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/1.514, allocations: 0.6848 MB / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.557e-05/1.514, allocations: 3.984 kB / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/1.514, allocations: 15.44 kB / 0.987 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/1.514, allocations: 0 / 0.987 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/1.537, allocations: 1.228 MB / 0.9882 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003823/1.537, allocations: 177.8 kB / 0.9884 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.607, allocations: 0 / 0.9884 GB, free: 14.16 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