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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.3 MB / 405.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 175.2 kB / 498.1 MB, free: 5.66 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 0.7948 GB, free: 17.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 96.31 kB / 0.9346 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004014, allocations: 9.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2602, allocations: 142.3 MB / 1.223 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.4386, allocations: 149.4 MB / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4389, allocations: 71.95 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004848/0.4438, allocations: 1.549 MB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4438, allocations: 0 / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4438, allocations: 0 / 1.37 GB, free: 10.81 MB / 0.8698 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.0004537/0.4443, allocations: 367.2 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4443, allocations: 8.031 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.4444, allocations: 30.56 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.4444, allocations: 4 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4446, allocations: 167 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4446, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.4446, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.4449, allocations: 57.67 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4449, allocations: 7.938 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4449, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4449, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.4451, allocations: 47.95 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.4457, allocations: 268.9 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4458, allocations: 42.56 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.4464, allocations: 437.5 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4464, allocations: 34.5 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4464, allocations: 4 kB / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003493/0.4468, allocations: 97.64 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.4468, allocations: 55.53 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.4469, allocations: 100.9 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4469, allocations: 25.7 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.447, allocations: 84.05 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.447, allocations: 4 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.447, allocations: 0 / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4471, allocations: 318.8 kB / 1.372 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.4472, allocations: 27.91 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.4473, allocations: 23.98 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.4474, allocations: 23.92 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4474, allocations: 0 / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.4476, allocations: 85.62 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4476, allocations: 4 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4476, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4476, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.4477, allocations: 16.02 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4477, allocations: 0 / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.4478, allocations: 8 kB / 1.373 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4478, allocations: 3.953 kB / 1.373 GB, free: 8.191 MB / 0.8698 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 7.089e-05/0.4479, allocations: 113.8 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.4479, allocations: 0 / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.4481, allocations: 88.72 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4482, allocations: 0 / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4482, allocations: 0 / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4482, allocations: 0 / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.4483, allocations: 161.6 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4483, allocations: 4 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.4484, allocations: 16.02 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4484, allocations: 4 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4484, allocations: 0 / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4484, allocations: 0 / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4484, allocations: 0 / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4487, allocations: 179.4 kB / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.4487, allocations: 84.95 kB / 1.373 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4488, allocations: 7.984 kB / 1.373 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.4488, allocations: 4 kB / 1.373 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4489, allocations: 7.984 kB / 1.373 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4489, allocations: 0 / 1.373 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.4489, allocations: 83.31 kB / 1.373 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4489, allocations: 0 / 1.373 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000251/0.4492, allocations: 20 kB / 1.373 GB, free: 7.332 MB / 0.8698 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.0006377/0.4498, allocations: 0.7433 MB / 1.374 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.4501, allocations: 55.92 kB / 1.374 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4501, allocations: 0 / 1.374 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.4502, allocations: 19.98 kB / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.4504, allocations: 9.781 kB / 1.374 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.4508, allocations: 150.3 kB / 1.374 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.451, allocations: 0.6809 MB / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.4511, allocations: 0 / 1.375 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.4511, allocations: 11.42 kB / 1.375 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of SimCode: time 4.709e-06/0.4511, allocations: 0 / 1.375 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.4631, allocations: 1.21 MB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.4633, allocations: 164.1 kB / 1.376 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.957, allocations: 0 / 1.376 GB, free: 4.223 MB / 0.8698 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