Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005923/0.005923, allocations: 97.94 kB / 15.73 MB, free: 6.008 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.001259/0.001259, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 472.6 MB / 0.7453 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8112, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002452/0.8137, allocations: 1.435 MB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.8142, allocations: 247.2 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.8143, allocations: 0 / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.8143, allocations: 7.938 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.8144, allocations: 7.922 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.8147, allocations: 51.89 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.8148, allocations: 23.88 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.8149, allocations: 11.97 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.815, allocations: 4 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.815, allocations: 15.92 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.815, allocations: 4 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.8152, allocations: 51.89 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.8152, allocations: 15.98 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.8152, allocations: 7.938 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.8154, allocations: 47.44 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8154, allocations: 3.938 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8154, allocations: 0 / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8154, allocations: 0 / 1.227 GB, free: 11.6 MB / 0.9512 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.0004704/0.8159, allocations: 344.4 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.816, allocations: 12.03 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.816, allocations: 4.891 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.8161, allocations: 176.3 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8162, allocations: 384 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.8162, allocations: 384 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.8164, allocations: 54.22 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.8164, allocations: 192 / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.8164, allocations: 3.938 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8164, allocations: 3.938 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.8166, allocations: 35.97 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.8169, allocations: 249 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.817, allocations: 38.44 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.8171, allocations: 20.91 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.8178, allocations: 461.5 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.8178, allocations: 30.56 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.8178, allocations: 0 / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003674/0.8182, allocations: 89.67 kB / 1.229 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.8182, allocations: 51.41 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.8183, allocations: 93.86 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.8183, allocations: 29.69 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.8184, allocations: 92.09 kB / 1.229 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.8184, allocations: 11.88 kB / 1.229 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.8185, allocations: 13.72 kB / 1.229 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8186, allocations: 314.8 kB / 1.229 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.8187, allocations: 20 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.8187, allocations: 15.98 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.8189, allocations: 36.83 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8189, allocations: 0 / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.8191, allocations: 77.59 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8191, allocations: 4 kB / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.8191, allocations: 0 / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.8191, allocations: 3.938 kB / 1.23 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.8192, allocations: 15.98 kB / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.8192, allocations: 0 / 1.23 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.8193, allocations: 4 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.8193, allocations: 0 / 1.23 GB, free: 9.02 MB / 0.9512 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 7.232e-05/0.8194, allocations: 126.3 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.8194, allocations: 0 / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.8196, allocations: 64.78 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8196, allocations: 0 / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8196, allocations: 7.938 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8196, allocations: 0 / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.8198, allocations: 157.6 kB / 1.23 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8198, allocations: 3.984 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.8199, allocations: 8.031 kB / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8199, allocations: 4 kB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.8199, allocations: 0 / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8199, allocations: 0 / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8199, allocations: 0 / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.8201, allocations: 167.4 kB / 1.23 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.8202, allocations: 89.06 kB / 1.23 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.8202, allocations: 0 / 1.23 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.8202, allocations: 4 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.8203, allocations: 3.984 kB / 1.23 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.8203, allocations: 4 kB / 1.23 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.8203, allocations: 83.45 kB / 1.23 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.523e-06/0.8203, allocations: 4 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002354/0.8206, allocations: 19.88 kB / 1.23 GB, free: 8.188 MB / 0.9512 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.0001895/0.8208, allocations: 115.2 kB / 1.23 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.821, allocations: 31.97 kB / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.821, allocations: 0 / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.8211, allocations: 28.03 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.8213, allocations: 9.5 kB / 1.231 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.8216, allocations: 105.4 kB / 1.231 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8219, allocations: 0.6729 MB / 1.231 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.8219, allocations: 3.938 kB / 1.231 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.8219, allocations: 15.36 kB / 1.231 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.8219, allocations: 0 / 1.231 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of Templates: time 0.002902/0.8248, allocations: 0.6585 MB / 1.232 GB, free: 6.496 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches