Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_10_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.0008012/0.0008012, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005042/0.005042, allocations: 171.7 kB / 16.27 MB, free: 6.656 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 0.8729 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6087, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001651/0.6104, allocations: 1.161 MB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007193/0.6112, allocations: 375.6 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.6112, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.6112, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.6113, allocations: 3.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.6117, allocations: 87.78 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.14e-05/0.6117, allocations: 19.98 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.6118, allocations: 8 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.6118, allocations: 7.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.6119, allocations: 7.984 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.6119, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.6122, allocations: 143.7 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.6122, allocations: 7.984 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.6122, allocations: 33.62 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.6124, allocations: 91.8 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6124, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6124, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.6124, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 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.0004147/0.6129, allocations: 349.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.6129, allocations: 12.03 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.6129, allocations: 34.69 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.613, allocations: 0.9375 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.6131, allocations: 168.3 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.6131, allocations: 4.375 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.6131, allocations: 384 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6133, allocations: 54.23 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6133, allocations: 3.938 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.6133, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.6133, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.6135, allocations: 47.95 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.6138, allocations: 248.8 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.614, allocations: 54.53 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.6141, allocations: 28.84 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00071/0.6148, allocations: 477.5 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.6148, allocations: 38.55 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6148, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003716/0.6152, allocations: 93.59 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.6153, allocations: 55.41 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.6154, allocations: 101.8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.6154, allocations: 25.83 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.6154, allocations: 92.08 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.6154, allocations: 3.906 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.6155, allocations: 9.719 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6156, allocations: 318.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.6157, allocations: 19.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.6158, allocations: 23.98 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.6159, allocations: 48.81 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.616, allocations: 3.938 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.6162, allocations: 81.67 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6162, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6162, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.6162, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.6163, allocations: 20.02 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.6163, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.6164, allocations: 7.984 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.6164, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 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 7.585e-05/0.6165, allocations: 114.3 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.6165, allocations: 3.906 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.6167, allocations: 88.72 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6168, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6168, allocations: 192 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6168, allocations: 0 / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.6169, allocations: 169.6 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6169, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.617, allocations: 16.02 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.617, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.617, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.617, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.617, allocations: 3.938 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.6173, allocations: 175.5 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.6173, allocations: 81.11 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.6174, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.6174, allocations: 7.984 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.6175, allocations: 7.938 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.6175, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.6175, allocations: 87.31 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6175, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002617/0.6178, allocations: 31.98 kB / 1.028 GB, free: 10.36 MB / 0.7794 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.0006414/0.6185, allocations: 0.7359 MB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.6187, allocations: 44 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6187, allocations: 7.875 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.6188, allocations: 28.03 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.619, allocations: 10.59 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.6194, allocations: 142.5 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.6197, allocations: 0.677 MB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.6197, allocations: 4 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.6197, allocations: 7.438 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6197, allocations: 0 / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.6309, allocations: 1.51 MB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.6311, allocations: 182.2 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.321, allocations: 11.81 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat