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.236/2.236, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.00114/0.00114, allocations: 184.8 kB / 487.4 MB, free: 5.016 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.411/1.411, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009413, allocations: 102.7 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.282e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2927, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.309, allocations: 148 MB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.309, allocations: 80.8 kB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00426/1.313, allocations: 1.271 MB / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.313, allocations: 2.625 kB / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.313, allocations: 0 / 1.352 GB, free: 33.82 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.0002506/1.314, allocations: 324.7 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.314, allocations: 11.38 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/1.314, allocations: 4 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.371e-05/1.314, allocations: 164.6 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/1.314, allocations: 1.281 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/1.314, allocations: 0 / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.418e-05/1.314, allocations: 1.906 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.851e-05/1.314, allocations: 38.83 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.314, allocations: 0 / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/1.314, allocations: 1.281 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.314, allocations: 0.7031 kB / 1.352 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/1.314, allocations: 138.6 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/1.314, allocations: 16.66 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/1.314, allocations: 6.203 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/1.315, allocations: 444.9 kB / 1.353 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.315, allocations: 36.5 kB / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/1.315, allocations: 0 / 1.353 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/1.315, allocations: 38.45 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/1.315, allocations: 51.41 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.87e-05/1.315, allocations: 85.66 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/1.315, allocations: 25.7 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/1.315, allocations: 81.48 kB / 1.353 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/1.315, allocations: 4.688 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/1.315, allocations: 4.031 kB / 1.353 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/1.315, allocations: 312.8 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/1.315, allocations: 0 / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/1.315, allocations: 2 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/1.315, allocations: 1.25 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.315, allocations: 1.312 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.485e-05/1.315, allocations: 34.89 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.315, allocations: 5.984 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.315, allocations: 4.094 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.315, allocations: 1.312 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/1.315, allocations: 1.906 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.315, allocations: 4.688 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/1.315, allocations: 4.938 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/1.315, allocations: 0 / 1.354 GB, free: 31.86 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 9.271e-05/1.316, allocations: 102.8 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.365e-05/1.316, allocations: 36.23 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-06/1.316, allocations: 0 / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/1.316, allocations: 39.44 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.316, allocations: 2.016 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.316, allocations: 0 / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.316, allocations: 3.938 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.104e-05/1.316, allocations: 128.9 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.316, allocations: 0.75 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/1.316, allocations: 2.562 kB / 1.354 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.316, allocations: 6.641 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/1.316, allocations: 1.922 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/1.316, allocations: 0 / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.316, allocations: 4.781 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.634e-05/1.316, allocations: 55.77 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/1.316, allocations: 78.42 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/1.316, allocations: 8.594 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/1.316, allocations: 1.281 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/1.316, allocations: 0.6094 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.316, allocations: 1.25 kB / 1.354 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.27e-05/1.316, allocations: 80.06 kB / 1.354 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.316, allocations: 0 / 1.354 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002161/1.316, allocations: 25.03 kB / 1.354 GB, free: 31.25 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.0004955/1.317, allocations: 0.6279 MB / 1.355 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.14e-05/1.317, allocations: 3.969 kB / 1.355 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.317, allocations: 0 / 1.355 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.67e-06/1.317, allocations: 1.812 kB / 1.355 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.823e-05/1.317, allocations: 6.641 kB / 1.355 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/1.317, allocations: 88.73 kB / 1.355 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/1.317, allocations: 0.6733 MB / 1.356 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.375e-05/1.318, allocations: 2.094 kB / 1.356 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/1.318, allocations: 11.38 kB / 1.356 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.318, allocations: 1.25 kB / 1.356 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/1.337, allocations: 0.6495 MB / 1.356 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/1.337, allocations: 135 kB / 1.356 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.8, allocations: 0 / 1.356 GB, free: 29.58 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