Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1",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.001153/0.001153, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001327/0.001327, allocations: 177.3 kB / 15.95 MB, free: 216 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.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.421/2.421, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003767, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7802/0.7806, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001712/0.7823, allocations: 1.146 MB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004819/0.7828, allocations: 229.4 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.7829, allocations: 4 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.7829, allocations: 1.25 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.783, allocations: 4 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.7833, allocations: 47.16 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.7833, allocations: 8.125 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.7834, allocations: 11.81 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.7835, allocations: 10.97 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.868e-05/0.7835, allocations: 6.266 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.7836, allocations: 1.188 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.7837, allocations: 64.86 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.7837, allocations: 9.25 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.7838, allocations: 30.8 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.7839, allocations: 23.61 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7839, allocations: 7.938 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7839, allocations: 3.938 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7839, allocations: 0 / 0.9551 GB, free: 6.848 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004096/0.7843, allocations: 350.6 kB / 0.9555 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7844, allocations: 8.469 kB / 0.9555 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.7844, allocations: 32 kB / 0.9555 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.7844, allocations: 9.312 kB / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.064e-05/0.7845, allocations: 160.5 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.7845, allocations: 5.625 kB / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.7846, allocations: 3.984 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.7847, allocations: 62.48 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7847, allocations: 0 / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.7848, allocations: 0 / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7848, allocations: 1.875 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.7849, allocations: 42.55 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.7852, allocations: 253.3 kB / 0.956 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.7854, allocations: 43.25 kB / 0.9561 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.786, allocations: 460.1 kB / 0.9565 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.7861, allocations: 35.84 kB / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.7861, allocations: 0 / 0.9565 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004/0.7865, allocations: 102.8 kB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.7865, allocations: 52.5 kB / 0.9567 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.7866, allocations: 106.1 kB / 0.9568 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.7866, allocations: 26.67 kB / 0.9568 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.7866, allocations: 81.3 kB / 0.9569 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7867, allocations: 16.91 kB / 0.9569 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.7867, allocations: 0 / 0.9569 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.7867, allocations: 311.8 kB / 0.9572 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.7868, allocations: 22.25 kB / 0.9572 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.7869, allocations: 25.36 kB / 0.9573 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.787, allocations: 18.98 kB / 0.9573 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.787, allocations: 0 / 0.9573 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.7872, allocations: 82.06 kB / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7872, allocations: 5.094 kB / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7872, allocations: 0 / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7873, allocations: 4.938 kB / 0.9574 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.7874, allocations: 15.75 kB / 0.9574 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7874, allocations: 1.312 kB / 0.9574 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.7874, allocations: 5.469 kB / 0.9574 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.7874, allocations: 1.156 kB / 0.9574 GB, free: 4.535 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 (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 6.253e-05/0.7875, allocations: 119.8 kB / 0.9575 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.7875, allocations: 1.062 kB / 0.9575 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.7878, allocations: 80.31 kB / 0.9576 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7878, allocations: 7.969 kB / 0.9576 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7878, allocations: 4.984 kB / 0.9576 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7878, allocations: 0 / 0.9576 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.7879, allocations: 158.4 kB / 0.9577 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7879, allocations: 0 / 0.9577 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.788, allocations: 15.95 kB / 0.9578 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.788, allocations: 1.156 kB / 0.9578 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.788, allocations: 0 / 0.9578 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.788, allocations: 1.094 kB / 0.9578 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.788, allocations: 4 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.7883, allocations: 180.8 kB / 0.9579 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.7883, allocations: 78.14 kB / 0.958 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.7883, allocations: 9.016 kB / 0.958 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.7884, allocations: 5.688 kB / 0.958 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.7884, allocations: 1.125 kB / 0.958 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.7885, allocations: 5.516 kB / 0.958 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.7885, allocations: 86.64 kB / 0.9581 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7885, allocations: 0 / 0.9581 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002394/0.7887, allocations: 21.39 kB / 0.9581 GB, free: 3.777 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 (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.0005094/0.7893, allocations: 0.7223 MB / 0.9588 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.7895, allocations: 42.5 kB / 0.9589 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7895, allocations: 1.156 kB / 0.9589 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.7896, allocations: 28.31 kB / 0.9589 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.7898, allocations: 9.219 kB / 0.9589 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.7902, allocations: 140.2 kB / 0.9591 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.7903, allocations: 0.6826 MB / 0.9597 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.7904, allocations: 9.188 kB / 0.9597 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.7904, allocations: 8.688 kB / 0.9597 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7904, allocations: 0 / 0.9597 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.802, allocations: 1.232 MB / 0.9609 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.8022, allocations: 176.6 kB / 0.9611 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.552, allocations: 0 / 0.9611 GB, free: 1.348 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat