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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005224/0.005224, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.00121/0.00121, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.184/1.184, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.976/1.976, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6904, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002497/0.6929, allocations: 1.436 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005459/0.6935, allocations: 257.8 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.6935, allocations: 1.094 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.6935, allocations: 8.547 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.6936, allocations: 1.094 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.694, allocations: 59.39 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.6941, allocations: 23.77 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.6942, allocations: 8.469 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.6942, allocations: 8.359 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.6942, allocations: 10.12 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.6943, allocations: 6.266 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.6944, allocations: 66.78 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.6944, allocations: 2.359 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.6944, allocations: 12 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.6946, allocations: 48.25 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6946, allocations: 5.031 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6946, allocations: 0.6562 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6946, allocations: 0 / 1.089 GB, free: 3.977 MB / 0.8575 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.0003515/0.695, allocations: 337.6 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.695, allocations: 10.72 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.695, allocations: 39.88 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.6951, allocations: 6.656 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.49e-05/0.6951, allocations: 162.8 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6952, allocations: 1.75 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.6952, allocations: 5.688 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.6953, allocations: 48.67 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6954, allocations: 3.938 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.6954, allocations: 4.719 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6954, allocations: 1.031 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.6956, allocations: 36.52 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.6958, allocations: 245.8 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.6959, allocations: 45.38 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.696, allocations: 27.64 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.6966, allocations: 457.6 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.6967, allocations: 36.67 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.6967, allocations: 0 / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003601/0.697, allocations: 84.25 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.6971, allocations: 52.66 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.6971, allocations: 105 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.6971, allocations: 25.7 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.6972, allocations: 82.25 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.6972, allocations: 10.02 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.6972, allocations: 15.86 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.6973, allocations: 313 kB / 1.091 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.6974, allocations: 17.97 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.6975, allocations: 14.69 kB / 1.091 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.6976, allocations: 36.7 kB / 1.091 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6976, allocations: 9.406 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.6978, allocations: 67.09 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6979, allocations: 6.531 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.6979, allocations: 5.578 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6979, allocations: 0 / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.698, allocations: 8.891 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.698, allocations: 0.5625 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.698, allocations: 14.06 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.6981, allocations: 1.953 kB / 1.092 GB, free: 1.742 MB / 0.8575 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 4.775e-05/0.6981, allocations: 110.9 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.6981, allocations: 2.734 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.6984, allocations: 70.39 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6984, allocations: 1.531 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6984, allocations: 0.5625 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6984, allocations: 8.016 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.6985, allocations: 160.2 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6985, allocations: 0 / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.6986, allocations: 13.77 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6986, allocations: 0 / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.6986, allocations: 2.094 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6986, allocations: 0 / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6986, allocations: 3.938 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.6988, allocations: 170.5 kB / 1.092 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.6989, allocations: 82.69 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.6989, allocations: 1.656 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.699, allocations: 5.781 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.699, allocations: 2.578 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.699, allocations: 1.344 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.699, allocations: 83.56 kB / 1.092 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6991, allocations: 5.125 kB / 1.092 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002429/0.6993, allocations: 17.73 kB / 1.092 GB, free: 1.039 MB / 0.8575 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.0006248/0.6999, allocations: 0.7153 MB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.7002, allocations: 36.72 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7002, allocations: 0 / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.7003, allocations: 21.09 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.7005, allocations: 9.281 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.7009, allocations: 139.2 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.7012, allocations: 0.6766 MB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.7012, allocations: 0.625 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.7012, allocations: 9.688 kB / 1.094 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.7012, allocations: 0.75 kB / 1.094 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3359/1.037, allocations: 1.513 MB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/8.255, allocations: 11.09 kB / 1.095 GB, free: 15.09 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches