Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.003/2.003, allocations: 387.1 MB / 399.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 184 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008473/0.0008473, allocations: 95.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.659e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 142.4 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7203/0.9279, allocations: 148.6 MB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.9281, allocations: 77.5 kB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003604/0.9318, allocations: 1.282 MB / 1.359 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9318, allocations: 1.422 kB / 1.359 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.9318, allocations: 0 / 1.359 GB, free: 34.74 MB / 0.8386 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.0001714/0.932, allocations: 324.7 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.932, allocations: 7.75 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.932, allocations: 32.11 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.763e-05/0.9321, allocations: 1.625 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.755e-05/0.9321, allocations: 171.3 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.9321, allocations: 3.969 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.9322, allocations: 4 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.021e-05/0.9322, allocations: 25.7 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.9322, allocations: 3.938 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.9323, allocations: 0 / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9323, allocations: 1.453 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.721e-05/0.9323, allocations: 3.625 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.4e-05/0.9324, allocations: 149.9 kB / 1.36 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.924e-05/0.9324, allocations: 26.39 kB / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.181e-05/0.9324, allocations: 4.859 kB / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.9329, allocations: 445.1 kB / 1.36 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.9329, allocations: 30.56 kB / 1.36 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.9329, allocations: 7.844 kB / 1.36 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.673e-05/0.933, allocations: 27.02 kB / 1.36 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.933, allocations: 55.25 kB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.486e-05/0.9331, allocations: 90.05 kB / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.9331, allocations: 25.7 kB / 1.36 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.005e-05/0.9331, allocations: 80.14 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.9331, allocations: 8.625 kB / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.9331, allocations: 0 / 1.36 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.9332, allocations: 318.8 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.9332, allocations: 3.875 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.9332, allocations: 0 / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.285e-05/0.9332, allocations: 1.312 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9332, allocations: 3.953 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.901e-05/0.9333, allocations: 37.73 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9333, allocations: 5.125 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.9333, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.9333, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.721e-05/0.9333, allocations: 9.25 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9334, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.9334, allocations: 2.375 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.9334, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 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 () * 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 3.555e-05/0.9334, allocations: 101 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.9334, allocations: 5.219 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.9335, allocations: 44.61 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.9335, allocations: 5.203 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9335, allocations: 0 / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9335, allocations: 4.031 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.9336, allocations: 146.9 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.9336, allocations: 0 / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.9336, allocations: 8.609 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.9336, allocations: 0 / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.9336, allocations: 0 / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9336, allocations: 0.7969 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9336, allocations: 0 / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.556e-05/0.9337, allocations: 66.77 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.9337, allocations: 77.11 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.9337, allocations: 7.219 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.9337, allocations: 0 / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.9337, allocations: 0.75 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.9337, allocations: 3.875 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.219e-05/0.9338, allocations: 75.28 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9338, allocations: 0 / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000179/0.934, allocations: 21.06 kB / 1.361 GB, free: 32.1 MB / 0.8386 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 () * 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.0003415/0.9343, allocations: 0.6404 MB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.829e-05/0.9344, allocations: 4.484 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9344, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.9344, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.909e-05/0.9345, allocations: 12.27 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.9347, allocations: 85.25 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.9349, allocations: 0.6751 MB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.147e-05/0.9349, allocations: 4.734 kB / 1.363 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.9349, allocations: 7.562 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9349, allocations: 7.938 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.9457, allocations: 0.9278 MB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.9459, allocations: 165.7 kB / 1.364 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.295/2.241, allocations: 0 / 1.364 GB, free: 30.29 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat does not exist to compare? outputFormat=mat