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/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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 73.17 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2925, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002532/0.2951, allocations: 1.437 MB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.2957, allocations: 358.8 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.2958, allocations: 4 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.2958, allocations: 0 / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.2959, allocations: 3.938 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.2963, allocations: 107.6 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.2964, allocations: 27.92 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.2965, allocations: 8 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.2965, allocations: 11.92 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.073e-05/0.2965, allocations: 4 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2965, allocations: 4 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2968, allocations: 131.7 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.2968, allocations: 11.92 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.2968, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.297, allocations: 87.8 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.297, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.297, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.297, allocations: 4 kB / 1.055 GB, free: 6.098 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.0004152/0.2975, allocations: 359.8 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2975, allocations: 8.625 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.2975, allocations: 34.75 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.2976, allocations: 8.844 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2977, allocations: 164.3 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.2977, allocations: 384 / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.2977, allocations: 4.375 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2979, allocations: 50.23 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2979, allocations: 7.938 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2979, allocations: 0 / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2979, allocations: 0 / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.2981, allocations: 35.89 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2983, allocations: 241 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2985, allocations: 54.42 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.2986, allocations: 20.91 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/0.2993, allocations: 469.5 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.2993, allocations: 34.56 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.2993, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.2997, allocations: 81.67 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2997, allocations: 55.44 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.2998, allocations: 105.8 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2998, allocations: 25.7 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2998, allocations: 84.05 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.2999, allocations: 8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.2999, allocations: 9.719 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.3, allocations: 314.8 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.3001, allocations: 23.98 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.3001, allocations: 11.98 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3003, allocations: 40.81 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3003, allocations: 3.938 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.3005, allocations: 77.58 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3005, allocations: 4 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3005, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3005, allocations: 192 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.3006, allocations: 11.98 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3006, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.3007, allocations: 7.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3007, allocations: 0 / 1.057 GB, free: 3.461 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 6.161e-05/0.3008, allocations: 115.3 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3008, allocations: 7.984 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.301, allocations: 68.78 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.301, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.301, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.301, allocations: 3.938 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.3012, allocations: 165.5 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3012, allocations: 4 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.3013, allocations: 16.02 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3013, allocations: 3.938 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.3013, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3013, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3013, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.3015, allocations: 163.5 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3016, allocations: 89.05 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3016, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.3017, allocations: 7.984 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.3017, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3017, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.3017, allocations: 83.28 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3018, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002577/0.302, allocations: 31.98 kB / 1.058 GB, free: 2.621 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.0005979/0.3026, allocations: 0.7397 MB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.3028, allocations: 35.97 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3028, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.3029, allocations: 27.91 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3031, allocations: 0 / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.3035, allocations: 147.3 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3038, allocations: 0.6768 MB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3038, allocations: 4 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.3038, allocations: 11.44 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3038, allocations: 0 / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.3203, allocations: 1.734 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.875, allocations: 10.31 kB / 1.061 GB, free: 15.2 MB / 0.8262 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/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