Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 191.7 kB / 16.13 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.431/2.431, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.73 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2491, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.00219/0.2513, allocations: 1.491 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.2519, allocations: 367 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.252, allocations: 0 / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.252, allocations: 3.938 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.252, allocations: 0 / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.2523, allocations: 79.86 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.2524, allocations: 23.92 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.2524, allocations: 4 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.2525, allocations: 11.92 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.643e-05/0.2525, allocations: 4 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.2525, allocations: 0 / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2527, allocations: 139.7 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.2527, allocations: 11.94 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.2528, allocations: 0 / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2529, allocations: 99.72 kB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2529, allocations: 3.938 kB / 1.054 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2529, allocations: 4 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.253, allocations: 0 / 1.054 GB, free: 5.988 MB / 0.8106 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.0003663/0.2533, allocations: 347.8 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2534, allocations: 15.97 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.2534, allocations: 30.75 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.2534, allocations: 4.844 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.2535, allocations: 172.3 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.2535, allocations: 8.375 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.2535, allocations: 384 / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.2537, allocations: 50.23 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.2537, allocations: 3.938 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2537, allocations: 4 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.2537, allocations: 0 / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.2539, allocations: 31.97 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.2541, allocations: 249 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2542, allocations: 46.38 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.2543, allocations: 16.91 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/0.2549, allocations: 465.5 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.2549, allocations: 30.56 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2549, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003056/0.2552, allocations: 85.73 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.2553, allocations: 55.34 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.2553, allocations: 105.8 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2554, allocations: 25.7 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.2554, allocations: 88.05 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.2554, allocations: 0 / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.2555, allocations: 13.72 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.2555, allocations: 314.8 kB / 1.056 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.2556, allocations: 20 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.2557, allocations: 15.98 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2558, allocations: 36.83 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2558, allocations: 3.938 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000175/0.256, allocations: 77.56 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.256, allocations: 4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2561, allocations: 0 / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.2561, allocations: 0 / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.2561, allocations: 11.98 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.2562, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.2562, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2562, allocations: 4 kB / 1.057 GB, free: 3.367 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.2563, allocations: 117.8 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2563, allocations: 7.938 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.2565, allocations: 68.78 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2565, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2565, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2565, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2567, allocations: 169.5 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2567, allocations: 3.984 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.2567, allocations: 8.031 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2567, allocations: 0 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.2567, allocations: 0 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.2568, allocations: 7.938 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2568, allocations: 0 / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.257, allocations: 163.5 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.257, allocations: 85 kB / 1.057 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.257, allocations: 8 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.2571, allocations: 4 kB / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.2572, allocations: 3.984 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2572, allocations: 0 / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.2572, allocations: 79.28 kB / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2572, allocations: 0 / 1.057 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002355/0.2574, allocations: 28 kB / 1.057 GB, free: 2.531 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005824/0.258, allocations: 0.7397 MB / 1.058 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2582, allocations: 39.95 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2582, allocations: 0 / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.2583, allocations: 19.92 kB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.2585, allocations: 0 / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.2589, allocations: 153.1 kB / 1.058 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2591, allocations: 0.6809 MB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.2591, allocations: 0 / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.2591, allocations: 7.438 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of SimCode: time 1.91e-07/0.2591, allocations: 0 / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4024/0.6616, allocations: 1.556 MB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.6618, allocations: 187.7 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.308, allocations: 3.938 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat