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.0009797/0.0009798, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001259/0.001259, allocations: 168.7 kB / 15.95 MB, free: 204 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.409/1.409, allocations: 223.2 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.602/2.602, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 19.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7276, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001672/0.7293, allocations: 1.145 MB / 0.9823 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004968/0.7298, allocations: 246.5 kB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.7298, allocations: 4 kB / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.7299, allocations: 0 / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.7299, allocations: 7.938 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.7303, allocations: 31.97 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.7303, allocations: 27.91 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.7304, allocations: 0 / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.7305, allocations: 11.92 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.7305, allocations: 8 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.7305, allocations: 0 / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.7307, allocations: 63.88 kB / 0.9826 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.7307, allocations: 8 kB / 0.9826 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.7307, allocations: 29.64 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.7309, allocations: 39.92 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7309, allocations: 0 / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7309, allocations: 0 / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.7309, allocations: 0 / 0.9827 GB, free: 4.617 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.0004308/0.7313, allocations: 349.6 kB / 0.983 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7314, allocations: 8.031 kB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.7314, allocations: 38.55 kB / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.7315, allocations: 4 kB / 0.9831 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.7316, allocations: 163.1 kB / 0.9832 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.7316, allocations: 0 / 0.9832 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.7316, allocations: 3.938 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.7318, allocations: 61.62 kB / 0.9833 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7318, allocations: 7.938 kB / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7318, allocations: 0 / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.7318, allocations: 0 / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.732, allocations: 39.97 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.7323, allocations: 260.8 kB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.7325, allocations: 42.52 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.7326, allocations: 32.91 kB / 0.9837 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006616/0.7332, allocations: 453.5 kB / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.7333, allocations: 42.44 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.7333, allocations: 0 / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.7336, allocations: 97.64 kB / 0.9842 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.7337, allocations: 51.41 kB / 0.9843 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.284e-05/0.7338, allocations: 106 kB / 0.9844 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.7338, allocations: 29.7 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.7338, allocations: 80.14 kB / 0.9845 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.7338, allocations: 7.906 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.7339, allocations: 0 / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.734, allocations: 310.8 kB / 0.9848 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.734, allocations: 23.97 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.7341, allocations: 27.92 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.087e-05/0.7342, allocations: 19.98 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7342, allocations: 0 / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.7344, allocations: 85.67 kB / 0.985 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7344, allocations: 4 kB / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7344, allocations: 4 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7344, allocations: 0 / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.7345, allocations: 11.98 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.7345, allocations: 4.031 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.7346, allocations: 4 kB / 0.985 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.7346, allocations: 4 kB / 0.985 GB, free: 1.973 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 6.412e-05/0.7347, allocations: 105.8 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.7347, allocations: 7.938 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.7349, allocations: 88.72 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7349, allocations: 0 / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7349, allocations: 3.938 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.735, allocations: 8 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.7351, allocations: 161.6 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7351, allocations: 0 / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.7352, allocations: 11.98 kB / 0.9854 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7352, allocations: 4.031 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.7352, allocations: 3.953 kB / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7352, allocations: 0 / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7352, allocations: 192 / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.7354, allocations: 179.5 kB / 0.9855 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.7355, allocations: 81.09 kB / 0.9856 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.7355, allocations: 0 / 0.9856 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.7356, allocations: 15.94 kB / 0.9856 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.7356, allocations: 0 / 0.9856 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.7356, allocations: 0 / 0.9856 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.7356, allocations: 87.27 kB / 0.9857 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7357, allocations: 7.969 kB / 0.9857 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002368/0.7359, allocations: 12 kB / 0.9857 GB, free: 1.113 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.0005642/0.7365, allocations: 0.7203 MB / 0.9864 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.7367, allocations: 51.94 kB / 0.9865 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7367, allocations: 0 / 0.9865 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.7368, allocations: 19.98 kB / 0.9865 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.737, allocations: 11.94 kB / 0.9865 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.7374, allocations: 142.4 kB / 0.9866 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.7376, allocations: 0.677 MB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.7376, allocations: 3.984 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.7377, allocations: 7.438 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.7377, allocations: 0 / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.7497, allocations: 1.258 MB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.7499, allocations: 188 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.477, allocations: 0 / 0.9887 GB, free: 14 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