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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001401/0.001401, allocations: 182.9 kB / 498.1 MB, free: 5.695 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.481/1.481, allocations: 223.2 MB / 0.7948 GB, free: 17.77 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.0009676/0.0009674, allocations: 96.33 kB / 0.9346 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 10.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 142.3 MB / 1.223 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.4596, allocations: 149.4 MB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.4599, allocations: 75.95 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005429/0.4654, allocations: 1.588 MB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4654, allocations: 0 / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.4655, allocations: 0 / 1.37 GB, free: 10.73 MB / 0.8698 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.0005475/0.466, allocations: 359.7 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.892e-05/0.4661, allocations: 16.03 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.4662, allocations: 34.55 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.4662, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4664, allocations: 163 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4664, allocations: 4 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.4664, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.4666, allocations: 57.61 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4666, allocations: 0 / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4667, allocations: 4 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4667, allocations: 0 / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.4669, allocations: 43.95 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.4673, allocations: 268.9 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4674, allocations: 42.56 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.4681, allocations: 453.5 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4681, allocations: 34.56 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 3.056e-06/0.4682, allocations: 0 / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004154/0.4686, allocations: 101.6 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4686, allocations: 51.41 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.4687, allocations: 92.95 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4688, allocations: 29.7 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.4688, allocations: 92.16 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4689, allocations: 4 kB / 1.372 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.4689, allocations: 0 / 1.372 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4691, allocations: 314.8 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.4692, allocations: 23.92 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.4692, allocations: 19.98 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.4693, allocations: 27.97 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4693, allocations: 0 / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.4696, allocations: 77.64 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4696, allocations: 4 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4696, allocations: 0 / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4696, allocations: 4 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.4697, allocations: 11.98 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4697, allocations: 3.938 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.4698, allocations: 11.92 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4698, allocations: 7.984 kB / 1.373 GB, free: 8.105 MB / 0.8698 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 7.242e-05/0.4699, allocations: 113.8 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.4699, allocations: 0 / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.4702, allocations: 88.72 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4702, allocations: 0 / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4702, allocations: 0 / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.4703, allocations: 4.172 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.4704, allocations: 161.6 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4704, allocations: 4 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.4705, allocations: 15.97 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4705, allocations: 0 / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4705, allocations: 0 / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4705, allocations: 0 / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4705, allocations: 4.031 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.4708, allocations: 171.4 kB / 1.373 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.4709, allocations: 85.02 kB / 1.373 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.4709, allocations: 4.031 kB / 1.373 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.471, allocations: 15.92 kB / 1.373 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.471, allocations: 4 kB / 1.373 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.471, allocations: 0 / 1.373 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.4711, allocations: 79.28 kB / 1.373 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4711, allocations: 0 / 1.373 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002521/0.4713, allocations: 27.98 kB / 1.373 GB, free: 7.242 MB / 0.8698 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.0007537/0.4721, allocations: 0.7434 MB / 1.374 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.4723, allocations: 47.91 kB / 1.374 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4723, allocations: 0 / 1.374 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.4724, allocations: 23.97 kB / 1.374 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.4726, allocations: 4.938 kB / 1.374 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.4731, allocations: 154.4 kB / 1.374 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4735, allocations: 0.6809 MB / 1.375 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.4735, allocations: 3.938 kB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.4735, allocations: 11.44 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/0.4735, allocations: 0 / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.4851, allocations: 1.221 MB / 1.376 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.4853, allocations: 164.1 kB / 1.376 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.049, allocations: 4 kB / 1.376 GB, free: 4.121 MB / 0.8698 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