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.215/2.215, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001117/0.001117, allocations: 172.8 kB / 487.4 MB, free: 5.02 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.483/1.483, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009825, allocations: 103 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.309e-05/2.271e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.283, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9482/1.231, allocations: 149 MB / 1.352 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.232, allocations: 72.5 kB / 1.352 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008497/1.24, allocations: 2.383 MB / 1.354 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.24, allocations: 0 / 1.354 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.24, allocations: 0 / 1.354 GB, free: 33.96 MB / 0.8386 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.0003941/1.241, allocations: 371.3 kB / 1.354 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.241, allocations: 7.781 kB / 1.354 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/1.241, allocations: 5.391 kB / 1.354 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/1.241, allocations: 171.7 kB / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.241, allocations: 0 / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/1.241, allocations: 0 / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.37e-05/1.241, allocations: 12.48 kB / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.633e-05/1.241, allocations: 42.69 kB / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.241, allocations: 0.5625 kB / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/1.241, allocations: 0 / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.241, allocations: 0 / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/1.241, allocations: 249.9 kB / 1.355 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/1.241, allocations: 30.28 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/1.241, allocations: 13.73 kB / 1.355 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/1.242, allocations: 448.4 kB / 1.355 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/1.242, allocations: 35.36 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/1.242, allocations: 0 / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/1.242, allocations: 38.05 kB / 1.355 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/1.242, allocations: 55.34 kB / 1.355 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/1.242, allocations: 90.5 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/1.242, allocations: 32.98 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/1.242, allocations: 80.8 kB / 1.356 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/1.242, allocations: 8.406 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.242, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.242, allocations: 323.8 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/1.242, allocations: 3.75 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/1.242, allocations: 3.875 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/1.243, allocations: 7.984 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/1.243, allocations: 0 / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.878e-05/1.243, allocations: 37.84 kB / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.243, allocations: 4.562 kB / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.243, allocations: 3.812 kB / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.243, allocations: 4.094 kB / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/1.243, allocations: 10.73 kB / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/1.243, allocations: 0 / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/1.243, allocations: 10.97 kB / 1.356 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.243, allocations: 3.938 kB / 1.356 GB, free: 31.89 MB / 0.8386 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 () * 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.329e-05/1.243, allocations: 104.9 kB / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.952e-05/1.243, allocations: 50.47 kB / 1.356 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/1.243, allocations: 0.6562 kB / 1.356 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.722e-05/1.243, allocations: 48.14 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.243, allocations: 0.6562 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.243, allocations: 0 / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.243, allocations: 3.812 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/1.243, allocations: 136.9 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.243, allocations: 3.938 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/1.243, allocations: 10.2 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.243, allocations: 8.75 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.243, allocations: 0 / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/1.243, allocations: 0 / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.243, allocations: 0.6562 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.244, allocations: 139.2 kB / 1.356 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/1.244, allocations: 81.81 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/1.244, allocations: 0.7969 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/1.244, allocations: 15.14 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/1.244, allocations: 0.7969 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/1.244, allocations: 7.812 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.59e-05/1.244, allocations: 80.44 kB / 1.357 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 0 / 1.357 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002516/1.244, allocations: 41.17 kB / 1.357 GB, free: 31.21 MB / 0.8386 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 () * 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.0005967/1.245, allocations: 0.7381 MB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.02e-05/1.245, allocations: 11.83 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.245, allocations: 0 / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/1.245, allocations: 11.06 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/1.245, allocations: 4.734 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/1.245, allocations: 109.6 kB / 1.357 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.246, allocations: 0.6768 MB / 1.358 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.31e-05/1.246, allocations: 4.562 kB / 1.358 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/1.246, allocations: 14.69 kB / 1.358 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.246, allocations: 0 / 1.358 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.266, allocations: 1.132 MB / 1.359 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.266, allocations: 122.1 kB / 1.359 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/2.696, allocations: 3.875 kB / 1.359 GB, free: 29.44 MB / 0.8386 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