Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.982/1.982, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001119/0.001119, allocations: 184 kB / 492.3 MB, free: 0.6094 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.261/1.261, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0008497/0.0008498, allocations: 97.69 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.435e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7302/0.9279, allocations: 149 MB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.9282, allocations: 75.61 kB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006373/0.9345, allocations: 2.174 MB / 1.36 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9346, allocations: 3.938 kB / 1.36 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.9346, allocations: 0 / 1.36 GB, free: 34.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002644/0.9349, allocations: 343.7 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.9349, allocations: 7.656 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.935, allocations: 34.5 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.935, allocations: 0 / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.751e-05/0.9351, allocations: 166.8 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.9351, allocations: 3.938 kB / 1.361 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.9351, allocations: 3.844 kB / 1.361 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.9352, allocations: 28.66 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.9352, allocations: 4 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.9352, allocations: 2.188 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9352, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.9353, allocations: 3.844 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.9354, allocations: 149.5 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.9354, allocations: 25.39 kB / 1.361 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.9355, allocations: 4.859 kB / 1.361 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.936, allocations: 460.9 kB / 1.361 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.936, allocations: 30.56 kB / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.9361, allocations: 0 / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.9362, allocations: 37.2 kB / 1.361 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.9362, allocations: 55.28 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.974e-05/0.9363, allocations: 88.94 kB / 1.362 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.9363, allocations: 25.7 kB / 1.362 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.9363, allocations: 83.05 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.9363, allocations: 4.688 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.9364, allocations: 0 / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9365, allocations: 310.8 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.9365, allocations: 0 / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-06/0.9365, allocations: 7.875 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.848e-05/0.9365, allocations: 0 / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.9365, allocations: 3.953 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.51e-05/0.9366, allocations: 40.16 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9366, allocations: 3.844 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.9366, allocations: 0 / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9367, allocations: 0 / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.9367, allocations: 3.844 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9367, allocations: 1.016 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.9367, allocations: 4.094 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.9368, allocations: 0 / 1.362 GB, free: 32.59 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 (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 5.712e-05/0.9368, allocations: 106.3 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-06/0.9368, allocations: 3.953 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.9369, allocations: 43.36 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9369, allocations: 3.938 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.9369, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9369, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.106e-05/0.937, allocations: 153.4 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.937, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.937, allocations: 7.828 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9371, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.9371, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.9371, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9371, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.161e-05/0.9372, allocations: 63.12 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.9372, allocations: 81.14 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.9372, allocations: 6.812 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.9372, allocations: 0 / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.9372, allocations: 0.875 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.9373, allocations: 3.844 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.9373, allocations: 75.28 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9373, allocations: 0 / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002214/0.9375, allocations: 45.61 kB / 1.363 GB, free: 31.98 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 (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.0005412/0.9381, allocations: 0.6509 MB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.818e-05/0.9381, allocations: 3.812 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9381, allocations: 0 / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.9382, allocations: 3.812 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.134e-05/0.9383, allocations: 5.203 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.9385, allocations: 107.5 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.9388, allocations: 0.677 MB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.9388, allocations: 0 / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.9388, allocations: 11.47 kB / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.9388, allocations: 3.25 kB / 1.364 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.9508, allocations: 1.176 MB / 1.365 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/0.951, allocations: 161.8 kB / 1.365 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.305/2.256, allocations: 0 / 1.365 GB, free: 30.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat