Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001207/0.001207, allocations: 99.47 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.001493/0.001493, 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 1.314/1.314, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 16 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7414, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006428/0.7421, allocations: 314.1 kB / 0.9539 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.7424, allocations: 178.1 kB / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-06/0.7424, allocations: 0 / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.7425, allocations: 0 / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.698e-06/0.7425, allocations: 0 / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.7427, allocations: 33.5 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.083e-05/0.7428, allocations: 5.062 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.7428, allocations: 0 / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.7428, allocations: 0.8438 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.7429, allocations: 9.062 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.7429, allocations: 3.984 kB / 0.9541 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.743, allocations: 56.2 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-06/0.7431, allocations: 0 / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.7431, allocations: 25.7 kB / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.034e-05/0.7432, allocations: 21.27 kB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.7432, allocations: 0 / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7432, allocations: 0 / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.7432, allocations: 4 kB / 0.9542 GB, free: 7.598 MB / 0.7169 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.0001756/0.7434, allocations: 320.5 kB / 0.9545 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7434, allocations: 8.812 kB / 0.9545 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.7434, allocations: 34.56 kB / 0.9546 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.7435, allocations: 5.328 kB / 0.9546 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.735e-05/0.7435, allocations: 163 kB / 0.9547 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.7435, allocations: 0 / 0.9547 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.7435, allocations: 5.234 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.864e-05/0.7436, allocations: 31.86 kB / 0.9548 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7436, allocations: 0 / 0.9548 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.7436, allocations: 0 / 0.9548 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7437, allocations: 3.984 kB / 0.9548 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.7437, allocations: 6.391 kB / 0.9548 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.55e-05/0.7438, allocations: 150.7 kB / 0.9549 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.717e-05/0.7438, allocations: 19.58 kB / 0.9549 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.7444, allocations: 457.5 kB / 0.9554 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.7444, allocations: 34.56 kB / 0.9554 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.7444, allocations: 1.094 kB / 0.9554 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.7446, allocations: 30.02 kB / 0.9554 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.7446, allocations: 56.39 kB / 0.9555 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.248e-05/0.7446, allocations: 93.98 kB / 0.9556 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.7447, allocations: 25.7 kB / 0.9556 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.7447, allocations: 81.2 kB / 0.9557 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.7447, allocations: 3.906 kB / 0.9557 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.7447, allocations: 3.938 kB / 0.9557 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.7448, allocations: 315.9 kB / 0.956 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.7448, allocations: 1.125 kB / 0.956 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.7448, allocations: 5.094 kB / 0.956 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.7448, allocations: 5.156 kB / 0.956 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7448, allocations: 0 / 0.956 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.658e-05/0.7449, allocations: 30.89 kB / 0.956 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7449, allocations: 10.73 kB / 0.956 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7449, allocations: 3.984 kB / 0.956 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7449, allocations: 1.031 kB / 0.956 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.745, allocations: 5.031 kB / 0.956 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.745, allocations: 1.031 kB / 0.956 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.745, allocations: 0 / 0.956 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.745, allocations: 1.125 kB / 0.956 GB, free: 5.5 MB / 0.7169 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 5.769e-05/0.7451, allocations: 114.7 kB / 0.9562 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.7451, allocations: 1.062 kB / 0.9562 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.7452, allocations: 44.56 kB / 0.9562 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.7452, allocations: 0 / 0.9562 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7452, allocations: 1.344 kB / 0.9562 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7452, allocations: 0 / 0.9562 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.37e-05/0.7453, allocations: 146.9 kB / 0.9563 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7453, allocations: 0 / 0.9563 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.7453, allocations: 1.344 kB / 0.9563 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7453, allocations: 5.719 kB / 0.9563 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.7453, allocations: 3.984 kB / 0.9563 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7453, allocations: 3.938 kB / 0.9564 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7453, allocations: 1.062 kB / 0.9564 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.614e-05/0.7454, allocations: 62.28 kB / 0.9564 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.7454, allocations: 78.36 kB / 0.9565 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.7454, allocations: 4 kB / 0.9565 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.7455, allocations: 5.281 kB / 0.9565 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.7455, allocations: 3.984 kB / 0.9565 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.7455, allocations: 1.031 kB / 0.9565 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.748e-05/0.7455, allocations: 75.28 kB / 0.9566 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7455, allocations: 0 / 0.9566 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002294/0.7458, allocations: 14.88 kB / 0.9566 GB, free: 4.871 MB / 0.7169 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.0003435/0.7461, allocations: 0.6112 MB / 0.9572 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.7462, allocations: 7.688 kB / 0.9572 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7462, allocations: 0 / 0.9572 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.7462, allocations: 2.219 kB / 0.9572 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.7463, allocations: 9.344 kB / 0.9572 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.7466, allocations: 107.1 kB / 0.9573 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.7467, allocations: 0.6757 MB / 0.958 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.284e-05/0.7467, allocations: 0 / 0.958 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.7468, allocations: 8.781 kB / 0.958 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7468, allocations: 0 / 0.958 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01092/0.7577, allocations: 0.9458 MB / 0.9589 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/0.7578, allocations: 177.4 kB / 0.9591 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.269, allocations: 3.938 kB / 0.9591 GB, free: 2.738 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat