Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",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.001759/0.001759, allocations: 99.55 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.002113/0.002113, 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.524/2.524, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.654/4.654, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006419, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41/1.411, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002825/1.414, allocations: 1.149 MB / 0.982 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/1.415, allocations: 234.7 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/1.415, allocations: 0 / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/1.415, allocations: 0 / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/1.415, allocations: 15.97 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/1.415, allocations: 39.89 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.115e-05/1.415, allocations: 8 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/1.416, allocations: 15.86 kB / 0.9823 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/1.416, allocations: 11.94 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/1.416, allocations: 11.97 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/1.416, allocations: 0 / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/1.416, allocations: 63.88 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/1.416, allocations: 4 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/1.416, allocations: 29.7 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/1.416, allocations: 27.94 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.416, allocations: 0 / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.088e-06/1.416, allocations: 0 / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.416, allocations: 4 kB / 0.9824 GB, free: 4.684 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.0009661/1.417, allocations: 349.6 kB / 0.9828 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/1.417, allocations: 8.031 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/1.418, allocations: 34.55 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/1.418, allocations: 8 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/1.418, allocations: 163 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/1.418, allocations: 0 / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/1.418, allocations: 11.98 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/1.418, allocations: 53.62 kB / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.418, allocations: 0 / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.418, allocations: 8 kB / 0.983 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.418, allocations: 0 / 0.983 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/1.418, allocations: 47.95 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/1.419, allocations: 248.8 kB / 0.9833 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.419, allocations: 50.45 kB / 0.9834 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.42, allocations: 457.5 kB / 0.9838 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.42, allocations: 34.56 kB / 0.9838 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/1.42, allocations: 0 / 0.9838 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0005265/1.421, allocations: 97.64 kB / 0.9839 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.421, allocations: 55.34 kB / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.421, allocations: 110 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.421, allocations: 25.7 kB / 0.9841 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/1.421, allocations: 84.08 kB / 0.9842 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/1.421, allocations: 3.906 kB / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/1.421, allocations: 4 kB / 0.9842 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.421, allocations: 314.8 kB / 0.9845 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/1.422, allocations: 23.97 kB / 0.9845 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/1.422, allocations: 23.98 kB / 0.9845 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.422, allocations: 15.98 kB / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.422, allocations: 0 / 0.9846 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003466/1.422, allocations: 85.67 kB / 0.9846 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.422, allocations: 8 kB / 0.9846 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.422, allocations: 3.938 kB / 0.9846 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.422, allocations: 0 / 0.9846 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.422, allocations: 15.92 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.422, allocations: 4.031 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/1.423, allocations: 8 kB / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/1.423, allocations: 0 / 0.9847 GB, free: 2.059 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.0001527/1.423, allocations: 109.8 kB / 0.9848 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/1.423, allocations: 7.953 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/1.423, allocations: 80.78 kB / 0.9849 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.423, allocations: 4 kB / 0.9849 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.423, allocations: 0 / 0.9849 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.423, allocations: 0 / 0.9849 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/1.424, allocations: 157.6 kB / 0.985 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.424, allocations: 0 / 0.985 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/1.424, allocations: 11.98 kB / 0.985 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.424, allocations: 4.031 kB / 0.985 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.424, allocations: 3.953 kB / 0.985 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/1.424, allocations: 3.938 kB / 0.985 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.424, allocations: 4 kB / 0.985 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/1.424, allocations: 171.5 kB / 0.9852 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/1.424, allocations: 77.11 kB / 0.9853 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/1.424, allocations: 7.984 kB / 0.9853 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/1.424, allocations: 11.95 kB / 0.9853 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/1.425, allocations: 3.984 kB / 0.9853 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/1.425, allocations: 0 / 0.9853 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.606e-05/1.425, allocations: 83.45 kB / 0.9854 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.425, allocations: 7.969 kB / 0.9854 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004909/1.425, allocations: 24 kB / 0.9854 GB, free: 1.203 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.001082/1.426, allocations: 0.7202 MB / 0.9861 GB, free: 468 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003301/1.427, allocations: 48 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.427, allocations: 0 / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/1.427, allocations: 23.97 kB / 0.9862 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.427, allocations: 7.953 kB / 0.9862 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/1.428, allocations: 146.4 kB / 0.9863 GB, free: 196 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/1.428, allocations: 0.6809 MB / 0.987 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.269e-05/1.428, allocations: 4 kB / 0.987 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/1.428, allocations: 7.438 kB / 0.987 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of SimCode: time 6.32e-07/1.428, allocations: 3.938 kB / 0.987 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/1.447, allocations: 1.228 MB / 0.9882 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/1.447, allocations: 180.6 kB / 0.9884 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/4.365, allocations: 0 / 0.9884 GB, free: 14.11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat