Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.0007848/0.0007849, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008241/0.0008241, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6108, allocations: 142.3 MB / 0.9539 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0005486/0.6113, allocations: 313.8 kB / 0.9542 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000416/0.6118, allocations: 261.6 kB / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-06/0.6118, allocations: 0 / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.6118, allocations: 0 / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.6118, allocations: 0 / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.6121, allocations: 76.48 kB / 0.9545 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.912e-05/0.6122, allocations: 1.281 kB / 0.9545 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.6122, allocations: 0 / 0.9545 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.041e-05/0.6122, allocations: 9.266 kB / 0.9545 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.972e-05/0.6123, allocations: 0 / 0.9545 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.6123, allocations: 0.9062 kB / 0.9545 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.6125, allocations: 127.7 kB / 0.9546 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-06/0.6125, allocations: 3.984 kB / 0.9546 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.6125, allocations: 27.17 kB / 0.9546 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.495e-05/0.6126, allocations: 35.69 kB / 0.9547 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6126, allocations: 1.438 kB / 0.9547 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6126, allocations: 0 / 0.9547 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.6126, allocations: 0 / 0.9547 GB, free: 7.449 MB / 0.7169 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.000179/0.6128, allocations: 330.1 kB / 0.955 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.6129, allocations: 10.41 kB / 0.955 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.165e-05/0.6129, allocations: 30.56 kB / 0.955 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.507e-05/0.6129, allocations: 3.953 kB / 0.955 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.141e-05/0.613, allocations: 164.5 kB / 0.9552 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.613, allocations: 0 / 0.9552 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.613, allocations: 0 / 0.9552 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.6131, allocations: 32.81 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.6131, allocations: 4 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.6131, allocations: 7.984 kB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6131, allocations: 0 / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.565e-05/0.6131, allocations: 9.359 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.118e-05/0.6132, allocations: 143.2 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.54e-05/0.6132, allocations: 19.8 kB / 0.9554 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.098e-05/0.6133, allocations: 6.547 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/0.6138, allocations: 464.4 kB / 0.9559 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.6139, allocations: 34.5 kB / 0.9559 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.6139, allocations: 0 / 0.9559 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001042/0.614, allocations: 35.14 kB / 0.9559 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.614, allocations: 55.53 kB / 0.956 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.569e-05/0.614, allocations: 93.84 kB / 0.9561 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.614, allocations: 26.83 kB / 0.9561 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.6141, allocations: 88.06 kB / 0.9562 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.6141, allocations: 5.031 kB / 0.9562 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.6141, allocations: 0 / 0.9562 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.6141, allocations: 316.3 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-06/0.6141, allocations: 0 / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.6141, allocations: 1.219 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.395e-05/0.6142, allocations: 6.344 kB / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.6142, allocations: 0 / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.594e-05/0.6142, allocations: 33.83 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6142, allocations: 5.875 kB / 0.9565 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6142, allocations: 3.984 kB / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.6143, allocations: 0 / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.355e-05/0.6143, allocations: 2.25 kB / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.6143, allocations: 0 / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-06/0.6143, allocations: 1.219 kB / 0.9565 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-06/0.6143, allocations: 32 / 0.9565 GB, free: 5.336 MB / 0.7169 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 (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 4.392e-05/0.6144, allocations: 118.8 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.6144, allocations: 1.125 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.6145, allocations: 36.47 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6145, allocations: 1.094 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6145, allocations: 0 / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6145, allocations: 1.281 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.83e-05/0.6145, allocations: 153.6 kB / 0.9568 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6145, allocations: 1.281 kB / 0.9568 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.6146, allocations: 5.281 kB / 0.9568 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6146, allocations: 3.938 kB / 0.9568 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-06/0.6146, allocations: 1.25 kB / 0.9568 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6146, allocations: 3.984 kB / 0.9568 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.6146, allocations: 0 / 0.9568 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.646e-05/0.6146, allocations: 63.16 kB / 0.9569 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.6147, allocations: 80.66 kB / 0.957 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.6147, allocations: 0 / 0.957 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.6147, allocations: 5 kB / 0.957 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.6147, allocations: 3.984 kB / 0.957 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.6147, allocations: 1.031 kB / 0.957 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.025e-05/0.6147, allocations: 75.28 kB / 0.9571 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6147, allocations: 5.125 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002159/0.6149, allocations: 24.47 kB / 0.9571 GB, free: 4.703 MB / 0.7169 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 (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.000332/0.6153, allocations: 0.6398 MB / 0.9577 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.6153, allocations: 3.5 kB / 0.9577 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6154, allocations: 4.062 kB / 0.9577 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-06/0.6154, allocations: 1.844 kB / 0.9577 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.6155, allocations: 0.9375 kB / 0.9577 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.6157, allocations: 112.5 kB / 0.9578 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.6158, allocations: 0.6704 MB / 0.9585 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.6159, allocations: 0 / 0.9585 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.6159, allocations: 8.625 kB / 0.9585 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6159, allocations: 3.938 kB / 0.9585 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.6264, allocations: 1.215 MB / 0.9597 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001249/0.6265, allocations: 185.9 kB / 0.9599 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.183, allocations: 0 / 0.9599 GB, free: 2.418 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat