Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.001384/0.001384, 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.001593/0.001594, allocations: 177.3 kB / 15.95 MB, free: 216 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.252/2.252, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.814/2.814, allocations: 409.2 MB / 0.6838 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.000377, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9385, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006626/0.9392, allocations: 309.6 kB / 0.9812 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003744/0.9396, allocations: 183.5 kB / 0.9813 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.9397, allocations: 0 / 0.9813 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.9397, allocations: 0 / 0.9813 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.9397, allocations: 0 / 0.9813 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.94, allocations: 47.88 kB / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.234e-05/0.9401, allocations: 0 / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.9401, allocations: 0 / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.9401, allocations: 4 kB / 0.9814 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.335e-05/0.9402, allocations: 3.938 kB / 0.9814 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.82e-06/0.9402, allocations: 0 / 0.9814 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.9403, allocations: 59.94 kB / 0.9815 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.9404, allocations: 3.984 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.9404, allocations: 25.7 kB / 0.9815 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.84e-05/0.9405, allocations: 19.91 kB / 0.9815 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.9405, allocations: 4 kB / 0.9815 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9405, allocations: 4 kB / 0.9815 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.9405, allocations: 0 / 0.9815 GB, free: 5.582 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.0002993/0.9408, allocations: 315.4 kB / 0.9818 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.9409, allocations: 8.031 kB / 0.9818 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.9409, allocations: 30.56 kB / 0.9818 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.9409, allocations: 0 / 0.9818 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.941, allocations: 167 kB / 0.982 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.941, allocations: 3.984 kB / 0.982 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.9411, allocations: 8 kB / 0.982 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.085e-05/0.9411, allocations: 29.66 kB / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.9412, allocations: 0 / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.9412, allocations: 0 / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.9412, allocations: 0 / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.9412, allocations: 4 kB / 0.9821 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.9413, allocations: 149.7 kB / 0.9822 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.541e-05/0.9414, allocations: 22.45 kB / 0.9822 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007586/0.9421, allocations: 469.5 kB / 0.9827 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.9422, allocations: 30.56 kB / 0.9827 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.9422, allocations: 0 / 0.9827 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.9423, allocations: 37.66 kB / 0.9827 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.9424, allocations: 59.44 kB / 0.9828 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.02e-05/0.9424, allocations: 89.86 kB / 0.9829 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.9424, allocations: 25.7 kB / 0.9829 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.9425, allocations: 80.14 kB / 0.983 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.9425, allocations: 2.438 kB / 0.983 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.9425, allocations: 3.938 kB / 0.983 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9426, allocations: 314.8 kB / 0.9833 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.9426, allocations: 0 / 0.9833 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.9426, allocations: 11.98 kB / 0.9833 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.398e-05/0.9427, allocations: 0 / 0.9833 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9427, allocations: 0 / 0.9833 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.542e-05/0.9427, allocations: 29.7 kB / 0.9833 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9427, allocations: 9.562 kB / 0.9833 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.9428, allocations: 3.938 kB / 0.9833 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.9428, allocations: 0 / 0.9833 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.524e-05/0.9428, allocations: 0 / 0.9833 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9428, allocations: 3.953 kB / 0.9833 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.9428, allocations: 8.094 kB / 0.9833 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.9428, allocations: 0 / 0.9833 GB, free: 3.391 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 7.2e-05/0.9429, allocations: 109.8 kB / 0.9834 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.9429, allocations: 0 / 0.9834 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.943, allocations: 40.77 kB / 0.9835 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.943, allocations: 0 / 0.9835 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.943, allocations: 0 / 0.9835 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.943, allocations: 7.953 kB / 0.9835 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.171e-05/0.9431, allocations: 145.7 kB / 0.9836 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9431, allocations: 8.031 kB / 0.9836 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.9432, allocations: 0 / 0.9836 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9432, allocations: 0 / 0.9836 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.9432, allocations: 4 kB / 0.9836 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9432, allocations: 0 / 0.9836 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9432, allocations: 0 / 0.9836 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.179e-05/0.9433, allocations: 65.02 kB / 0.9837 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.9433, allocations: 77.11 kB / 0.9838 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.9433, allocations: 8.031 kB / 0.9838 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.9433, allocations: 0 / 0.9838 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.9433, allocations: 0 / 0.9838 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.9434, allocations: 3.938 kB / 0.9838 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.9434, allocations: 75.28 kB / 0.9839 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9434, allocations: 0 / 0.9839 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001962/0.9436, allocations: 12 kB / 0.9839 GB, free: 2.746 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.0004572/0.9441, allocations: 0.6224 MB / 0.9845 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.308e-05/0.9441, allocations: 11.94 kB / 0.9845 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9441, allocations: 0 / 0.9845 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.591e-06/0.9441, allocations: 4.094 kB / 0.9845 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.786e-05/0.9442, allocations: 4 kB / 0.9845 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.9445, allocations: 104.3 kB / 0.9846 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.9447, allocations: 0.6692 MB / 0.9853 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.9447, allocations: 0 / 0.9853 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.9448, allocations: 11.44 kB / 0.9853 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9448, allocations: 0 / 0.9853 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.438/2.383, allocations: 0.9569 MB / 0.9862 GB, free: 412 kB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/2.383, allocations: 184 kB / 0.9864 GB, free: 168 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/5.471, allocations: 0 / 0.9864 GB, free: 168 kB / 0.7325 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat