Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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 1.992/1.992, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.0009258/0.0009261, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.299/1.299, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0007957/0.0007957, allocations: 94.69 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.739e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7129/0.9027, allocations: 149.7 MB / 1.359 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.903, allocations: 70.39 kB / 1.359 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007001/0.91, allocations: 2.476 MB / 1.361 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.91, allocations: 4 kB / 1.361 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.91, allocations: 3.969 kB / 1.361 GB, free: 34.57 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.0002999/0.9103, allocations: 359.7 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.9104, allocations: 7.75 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.9104, allocations: 34.41 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.973e-05/0.9104, allocations: 4.688 kB / 1.362 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/0.9105, allocations: 168.5 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.9105, allocations: 7.844 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.9105, allocations: 0 / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/0.9106, allocations: 40.27 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.9106, allocations: 0 / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.9106, allocations: 0 / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9106, allocations: 3.781 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.9107, allocations: 7.125 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.911, allocations: 274.7 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.911, allocations: 25.95 kB / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.9111, allocations: 12.64 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.9115, allocations: 459.8 kB / 1.363 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.9115, allocations: 36.28 kB / 1.363 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9116, allocations: 0 / 1.363 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001127/0.9117, allocations: 40.02 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.9117, allocations: 53.14 kB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.563e-05/0.9117, allocations: 92.98 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.9118, allocations: 25.7 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.9118, allocations: 92.45 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.9118, allocations: 3.906 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.9118, allocations: 0 / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.9119, allocations: 316.9 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.9119, allocations: 7.531 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.9119, allocations: 7.906 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.554e-05/0.9119, allocations: 11.28 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.912, allocations: 0 / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.471e-05/0.912, allocations: 43.58 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.912, allocations: 3.844 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.912, allocations: 3.938 kB / 1.363 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.9121, allocations: 5.203 kB / 1.363 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.9121, allocations: 11.56 kB / 1.363 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.9122, allocations: 0 / 1.363 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.9122, allocations: 13.25 kB / 1.363 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.9122, allocations: 0 / 1.363 GB, free: 32.43 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 4.295e-05/0.9123, allocations: 108.7 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.9123, allocations: 8.672 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.9124, allocations: 51 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9124, allocations: 3.781 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.9124, allocations: 1.688 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.9124, allocations: 0 / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.9125, allocations: 162.1 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.9125, allocations: 0 / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.9126, allocations: 15.14 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9126, allocations: 0 / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.9126, allocations: 0 / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.9126, allocations: 3.906 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9126, allocations: 0 / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.915e-05/0.9127, allocations: 150.3 kB / 1.364 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.9127, allocations: 77.11 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.9127, allocations: 0 / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.9128, allocations: 10.23 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.9128, allocations: 2.109 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.9128, allocations: 0 / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.421e-05/0.9129, allocations: 82.5 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9129, allocations: 0 / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00023/0.9131, allocations: 50.12 kB / 1.364 GB, free: 31.75 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.000413/0.9135, allocations: 0.7351 MB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.072e-05/0.9136, allocations: 15.03 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9136, allocations: 0 / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.9136, allocations: 3.812 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.9138, allocations: 17.14 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.914, allocations: 111 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.9143, allocations: 0.6814 MB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.9143, allocations: 0 / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.9143, allocations: 7.438 kB / 1.365 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9143, allocations: 0 / 1.365 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.9247, allocations: 1.471 MB / 1.367 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.9248, allocations: 139.8 kB / 1.367 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/2.298, allocations: 0 / 1.367 GB, free: 29.83 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat