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 2.469/2.469, 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.001068/0.001068, allocations: 178.7 kB / 498.1 MB, free: 5.723 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.607/1.607, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.001051/0.00105, allocations: 110.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003948, allocations: 17.03 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3169, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5154, allocations: 149.8 MB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5157, allocations: 71.95 kB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00764/0.5233, allocations: 2.485 MB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5234, allocations: 0 / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5234, allocations: 0 / 1.372 GB, free: 9.621 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.0004635/0.5239, allocations: 375.2 kB / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5239, allocations: 8.031 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.524, allocations: 38.56 kB / 1.372 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.524, allocations: 8 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.5241, allocations: 167 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5242, allocations: 7.922 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5242, allocations: 4 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.5244, allocations: 49.69 kB / 1.372 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5244, allocations: 0 / 1.372 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.5244, allocations: 4 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.5244, allocations: 3.984 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.5246, allocations: 39.97 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.525, allocations: 268.9 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.5252, allocations: 46.44 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.5258, allocations: 461.5 kB / 1.373 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5258, allocations: 30.56 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5258, allocations: 0 / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003601/0.5262, allocations: 105.5 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5263, allocations: 51.41 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.5263, allocations: 100.8 kB / 1.373 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.5264, allocations: 25.83 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.5264, allocations: 88.14 kB / 1.374 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.5265, allocations: 3.906 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.5265, allocations: 4 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5266, allocations: 314.8 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.5267, allocations: 19.98 kB / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.5268, allocations: 23.98 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/0.5268, allocations: 19.98 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5268, allocations: 0 / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.527, allocations: 77.72 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5271, allocations: 8 kB / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5271, allocations: 0 / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5271, allocations: 0 / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.5272, allocations: 11.98 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5272, allocations: 0 / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.5273, allocations: 16.02 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.5273, allocations: 7.891 kB / 1.374 GB, free: 6.969 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.107e-05/0.5273, allocations: 109.8 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.5274, allocations: 4 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.5276, allocations: 80.97 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5276, allocations: 3.984 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5276, allocations: 0 / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5276, allocations: 0 / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.5278, allocations: 165.5 kB / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5278, allocations: 0 / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.5279, allocations: 12 kB / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5279, allocations: 0 / 1.374 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5279, allocations: 3.984 kB / 1.374 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5279, allocations: 8.031 kB / 1.374 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5279, allocations: 3.938 kB / 1.374 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.5282, allocations: 179.3 kB / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.5282, allocations: 77.11 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.5282, allocations: 4 kB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.5283, allocations: 8 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.5284, allocations: 7.984 kB / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.5284, allocations: 0 / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.5284, allocations: 79.28 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5284, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002677/0.5287, allocations: 47.92 kB / 1.375 GB, free: 6.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 (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.0007459/0.5294, allocations: 0.7746 MB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.5297, allocations: 47.97 kB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5297, allocations: 0 / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.5298, allocations: 24.05 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.53, allocations: 8 kB / 1.376 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.5304, allocations: 167 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.5307, allocations: 0.6809 MB / 1.376 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.5307, allocations: 0 / 1.376 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.5308, allocations: 7.438 kB / 1.376 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.5308, allocations: 4.062 kB / 1.376 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.5446, allocations: 1.435 MB / 1.378 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.5449, allocations: 170.2 kB / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.134, allocations: 4 kB / 1.378 GB, free: 2.707 MB / 0.8698 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