Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",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.329/2.329, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001592/0.001592, allocations: 185 kB / 498.1 MB, free: 5.77 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.593/1.593, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0009253/0.0009251, allocations: 98.89 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.000367, allocations: 10.47 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.5555, allocations: 148.7 MB / 1.368 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5558, allocations: 79.88 kB / 1.368 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003689/0.5595, allocations: 1.28 MB / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5595, allocations: 0 / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5595, allocations: 0 / 1.369 GB, free: 11.95 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003229/0.5599, allocations: 339.4 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5599, allocations: 8.031 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.56, allocations: 38.55 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.56, allocations: 3.938 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5601, allocations: 171 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5601, allocations: 0 / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.5601, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.5602, allocations: 25.7 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5603, allocations: 0 / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.5603, allocations: 0 / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5603, allocations: 4 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.5603, allocations: 4 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.5605, allocations: 153.6 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.5605, allocations: 18.52 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/0.5612, allocations: 445.6 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5613, allocations: 34.56 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 3.135e-06/0.5613, allocations: 0 / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.5614, allocations: 41.62 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.5615, allocations: 51.41 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/0.5615, allocations: 85 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5616, allocations: 25.7 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.5616, allocations: 88.25 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5616, allocations: 7.844 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-06/0.5616, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5618, allocations: 314.8 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.5618, allocations: 4 kB / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.5618, allocations: 0 / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.947e-05/0.5618, allocations: 3.953 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5618, allocations: 0 / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.091e-05/0.5619, allocations: 41.75 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5619, allocations: 4 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5619, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5619, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.562, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.562, allocations: 4 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-06/0.562, allocations: 0 / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.562, allocations: 0 / 1.371 GB, free: 9.762 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 (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.295e-05/0.5621, allocations: 109.8 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.5621, allocations: 3.969 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.5622, allocations: 44.81 kB / 1.371 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5622, allocations: 4 kB / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5622, allocations: 0 / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5622, allocations: 0 / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.533e-05/0.5623, allocations: 141.7 kB / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5623, allocations: 3.953 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.5624, allocations: 11.92 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5624, allocations: 0 / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.5624, allocations: 0 / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5624, allocations: 32 / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5624, allocations: 4 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.818e-05/0.5625, allocations: 57.08 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.5625, allocations: 85.06 kB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5625, allocations: 7.984 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.5626, allocations: 3.938 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.5626, allocations: 0 / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.5626, allocations: 0 / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.5626, allocations: 79.31 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5626, allocations: 0 / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002035/0.5628, allocations: 23.94 kB / 1.372 GB, free: 9.09 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 (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.0004924/0.5633, allocations: 0.6356 MB / 1.372 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.996e-05/0.5634, allocations: 4 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5634, allocations: 0 / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.5634, allocations: 0 / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.704e-05/0.5635, allocations: 4.625 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.5638, allocations: 116.5 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.5641, allocations: 0.677 MB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.404e-05/0.5642, allocations: 3.938 kB / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.5642, allocations: 7.438 kB / 1.373 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5642, allocations: 0 / 1.373 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.5764, allocations: 0.9338 MB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.5766, allocations: 176.2 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.209, allocations: 3.25 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat