Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.255/2.255, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001156/0.001156, allocations: 179.9 kB / 0.4901 GB, free: 2.332 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.465/1.465, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001033/0.001033, allocations: 97.45 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 10.56 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4687, allocations: 150.6 MB / 1.376 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.469, allocations: 75.95 kB / 1.376 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007918/0.477, allocations: 2.473 MB / 1.379 GB, free: 436 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.477, allocations: 0 / 1.379 GB, free: 436 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.477, allocations: 4 kB / 1.379 GB, free: 432 kB / 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.0004562/0.4775, allocations: 379.2 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.4776, allocations: 8.609 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.4776, allocations: 34.5 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.4777, allocations: 7.906 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.4778, allocations: 171 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.4778, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.4778, allocations: 4 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.478, allocations: 57.62 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.478, allocations: 4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4781, allocations: 0 / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4781, allocations: 0 / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4782, allocations: 43.95 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.4787, allocations: 276.8 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4788, allocations: 34.56 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.4795, allocations: 457.5 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.4795, allocations: 34.55 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4795, allocations: 0 / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003953/0.4799, allocations: 101.6 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.48, allocations: 55.39 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.4801, allocations: 101.1 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4801, allocations: 25.7 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.4801, allocations: 80.14 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.4802, allocations: 7.906 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.4802, allocations: 3.938 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4803, allocations: 318.8 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.4804, allocations: 19.98 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.4805, allocations: 23.98 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.4805, allocations: 15.98 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4806, allocations: 7.938 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002051/0.4808, allocations: 85.56 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4808, allocations: 4 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4808, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4808, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.4809, allocations: 11.98 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4809, allocations: 4.031 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.481, allocations: 15.98 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.481, allocations: 3.953 kB / 1.381 GB, free: 13.76 MB / 0.8855 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.914e-05/0.4811, allocations: 109.8 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.4811, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4814, allocations: 84.78 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4814, allocations: 0 / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4814, allocations: 0 / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4814, allocations: 0 / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4816, allocations: 165.5 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4816, allocations: 0 / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.4817, allocations: 8.031 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4817, allocations: 4 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4817, allocations: 4 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4817, allocations: 3.984 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4817, allocations: 0 / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4819, allocations: 171.5 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.482, allocations: 85.19 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.482, allocations: 4 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.4821, allocations: 7.984 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.4822, allocations: 3.984 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4822, allocations: 8 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.4822, allocations: 75.31 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4822, allocations: 4 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002976/0.4825, allocations: 51.86 kB / 1.382 GB, free: 12.89 MB / 0.8855 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.0008256/0.4833, allocations: 0.7677 MB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4836, allocations: 47.95 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4836, allocations: 0 / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.4837, allocations: 31.98 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4839, allocations: 7.938 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.4844, allocations: 158.3 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4846, allocations: 0.677 MB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.4847, allocations: 8 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.4847, allocations: 11.44 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of SimCode: time 4.228e-06/0.4847, allocations: 3.938 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.4981, allocations: 1.441 MB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.4984, allocations: 177.7 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.058, allocations: 0 / 1.385 GB, free: 9.516 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat