Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Examples.BesselJ0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_9_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.001344/0.001344, 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.001716/0.001717, 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 1.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.451/2.451, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/0.7411, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001567/0.7427, allocations: 1.146 MB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.7432, allocations: 227 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.7432, allocations: 0 / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.7433, allocations: 0 / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.7433, allocations: 5.469 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.7436, allocations: 46.59 kB / 0.955 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.7437, allocations: 7.438 kB / 0.955 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.624e-05/0.7437, allocations: 7.609 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.7438, allocations: 10.39 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.7438, allocations: 10.3 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.7438, allocations: 5.188 kB / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.744, allocations: 57.14 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.744, allocations: 1.281 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.744, allocations: 35.02 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.921e-05/0.7441, allocations: 29.98 kB / 0.9551 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.7441, allocations: 0.9688 kB / 0.9551 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7442, allocations: 0 / 0.9551 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.7442, allocations: 0 / 0.9551 GB, free: 6.816 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003581/0.7445, allocations: 352.6 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7446, allocations: 9.812 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.7446, allocations: 30.56 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.7447, allocations: 10.52 kB / 0.9555 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.7447, allocations: 159.9 kB / 0.9557 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.7448, allocations: 1.25 kB / 0.9557 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.7448, allocations: 5.094 kB / 0.9557 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.7449, allocations: 57.83 kB / 0.9557 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.745, allocations: 3.984 kB / 0.9557 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.745, allocations: 4 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.745, allocations: 1.438 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.7452, allocations: 55.19 kB / 0.9558 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.7454, allocations: 245.4 kB / 0.956 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.7456, allocations: 44.22 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.7461, allocations: 451.6 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.7461, allocations: 31.62 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7461, allocations: 1.156 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.7465, allocations: 109.8 kB / 0.9566 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.7465, allocations: 52.75 kB / 0.9567 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.7466, allocations: 102.8 kB / 0.9568 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.7466, allocations: 29.64 kB / 0.9568 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.7466, allocations: 85.55 kB / 0.9569 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.7466, allocations: 5.156 kB / 0.9569 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.7466, allocations: 0 / 0.9569 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.7467, allocations: 323.8 kB / 0.9572 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.7468, allocations: 18.36 kB / 0.9572 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.7469, allocations: 26.2 kB / 0.9572 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.883e-05/0.747, allocations: 18.23 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.747, allocations: 0 / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.7472, allocations: 85.34 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7472, allocations: 5.25 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7472, allocations: 1.125 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7472, allocations: 0 / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.7473, allocations: 16.75 kB / 0.9574 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7473, allocations: 0 / 0.9574 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.7474, allocations: 5.938 kB / 0.9574 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.7474, allocations: 8.984 kB / 0.9574 GB, free: 4.488 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 (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 5.067e-05/0.7474, allocations: 107.7 kB / 0.9575 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.7475, allocations: 1.031 kB / 0.9575 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.7477, allocations: 92.66 kB / 0.9576 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.7477, allocations: 0 / 0.9576 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7477, allocations: 5.141 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7477, allocations: 0 / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.7478, allocations: 160.9 kB / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7479, allocations: 0 / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.7479, allocations: 6.094 kB / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7479, allocations: 0 / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.7479, allocations: 1.375 kB / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7479, allocations: 0 / 0.9577 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.748, allocations: 8.016 kB / 0.9577 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.7482, allocations: 172.7 kB / 0.9579 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.7482, allocations: 86.12 kB / 0.958 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.7482, allocations: 4.969 kB / 0.958 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.7483, allocations: 6.031 kB / 0.958 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.7483, allocations: 5.453 kB / 0.958 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.7483, allocations: 5.406 kB / 0.958 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.799e-05/0.7484, allocations: 78.09 kB / 0.9581 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7484, allocations: 0 / 0.9581 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.7486, allocations: 25.23 kB / 0.9581 GB, free: 3.746 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 (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.0004599/0.7491, allocations: 0.7231 MB / 0.9588 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.7493, allocations: 50.81 kB / 0.9589 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7493, allocations: 4.062 kB / 0.9589 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.7494, allocations: 23.62 kB / 0.9589 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.7496, allocations: 6 kB / 0.9589 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.75, allocations: 140.5 kB / 0.959 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.7501, allocations: 0.6867 MB / 0.9597 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.7501, allocations: 1.031 kB / 0.9597 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.7501, allocations: 8.531 kB / 0.9597 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7501, allocations: 0 / 0.9597 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.7613, allocations: 1.229 MB / 0.9609 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.7615, allocations: 177.8 kB / 0.9611 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.563, allocations: 1.375 kB / 0.9611 GB, free: 1.316 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat does not exist to compare? outputFormat=mat