Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",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.288/2.288, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001093/0.001092, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.663/1.663, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.0008587/0.0008587, allocations: 104 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 10.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5083, allocations: 149.7 MB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5087, allocations: 67.97 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007582/0.5163, allocations: 2.419 MB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5163, allocations: 0 / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.5163, allocations: 0 / 1.372 GB, free: 9.719 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.0004775/0.5168, allocations: 371.2 kB / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5169, allocations: 16.03 kB / 1.372 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.5169, allocations: 30.56 kB / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.517, allocations: 0 / 1.372 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5171, allocations: 167 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5171, allocations: 4 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.5172, allocations: 4 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.5174, allocations: 53.61 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5174, allocations: 0 / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5174, allocations: 8 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5175, allocations: 0 / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.5176, allocations: 43.95 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.5181, allocations: 268.9 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.5182, allocations: 50.53 kB / 1.373 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/0.5188, allocations: 449.5 kB / 1.373 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5189, allocations: 30.56 kB / 1.373 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5189, allocations: 0 / 1.373 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003899/0.5193, allocations: 97.55 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.5193, allocations: 55.41 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.5194, allocations: 92.95 kB / 1.373 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5194, allocations: 33.69 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.5195, allocations: 88.27 kB / 1.373 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.5195, allocations: 7.844 kB / 1.373 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.5195, allocations: 0 / 1.373 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5196, allocations: 310.8 kB / 1.374 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.5197, allocations: 23.98 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.5198, allocations: 27.91 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.5199, allocations: 23.98 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5199, allocations: 0 / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002084/0.5201, allocations: 73.73 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5201, allocations: 7.984 kB / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5201, allocations: 0 / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5202, allocations: 4 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.5203, allocations: 8 kB / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5203, allocations: 0 / 1.374 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.5203, allocations: 7.984 kB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.5204, allocations: 11.98 kB / 1.374 GB, free: 7.086 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.495e-05/0.5204, allocations: 109.8 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.5205, allocations: 4.188 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.5207, allocations: 88.7 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5207, allocations: 3.984 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5207, allocations: 0 / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5207, allocations: 4 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.5209, allocations: 157.6 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5209, allocations: 0 / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.521, allocations: 11.98 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.521, allocations: 0 / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.521, allocations: 0 / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.521, allocations: 0 / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.521, allocations: 4.031 kB / 1.374 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.5213, allocations: 183.3 kB / 1.374 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.5213, allocations: 77.14 kB / 1.374 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.5213, allocations: 4 kB / 1.374 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.5214, allocations: 11.98 kB / 1.374 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.5215, allocations: 0 / 1.374 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.5215, allocations: 0 / 1.374 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.5215, allocations: 87.27 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5215, allocations: 0 / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002835/0.5218, allocations: 43.88 kB / 1.375 GB, free: 6.211 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.0007421/0.5225, allocations: 0.7745 MB / 1.375 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.5228, allocations: 43.97 kB / 1.375 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5228, allocations: 0 / 1.375 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.5229, allocations: 27.97 kB / 1.375 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.5231, allocations: 10.52 kB / 1.375 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.5235, allocations: 154.3 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.5238, allocations: 0.677 MB / 1.376 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.5238, allocations: 7.938 kB / 1.376 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.5238, allocations: 15.44 kB / 1.376 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5238, allocations: 0 / 1.376 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.5368, allocations: 1.429 MB / 1.378 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.537, allocations: 168.5 kB / 1.378 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.164, allocations: 0 / 1.378 GB, free: 2.844 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat