Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001915/0.001915, allocations: 187 kB / 17.34 MB, free: 5.742 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 60.09 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9077, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001775/0.9096, allocations: 0.5814 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004524/0.91, allocations: 191.2 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.259e-05/0.9101, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.9101, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.9101, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.9105, allocations: 55.81 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.022e-05/0.9106, allocations: 4 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.9106, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.9106, allocations: 4 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.054e-05/0.9106, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.9107, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.9108, allocations: 67.86 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.9109, allocations: 0 / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.9109, allocations: 0 / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.911, allocations: 35.88 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.911, allocations: 0 / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.911, allocations: 0 / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.911, allocations: 0 / 1.209 GB, free: 12.68 MB / 0.9356 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.0002908/0.9113, allocations: 327.6 kB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.9114, allocations: 8.031 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.9114, allocations: 0.9375 kB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.9115, allocations: 164.4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.9115, allocations: 384 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.9115, allocations: 384 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.248e-05/0.9116, allocations: 30.27 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9116, allocations: 192 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.9117, allocations: 3.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9117, allocations: 8 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.9117, allocations: 11.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.9118, allocations: 149.7 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.9119, allocations: 18.58 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.9119, allocations: 8.953 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.9126, allocations: 453.5 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9127, allocations: 30.56 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.9127, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.9128, allocations: 45.56 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.9128, allocations: 51.41 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.368e-05/0.9129, allocations: 89.86 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.9129, allocations: 25.83 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.9129, allocations: 84.14 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.913, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.913, allocations: 17.72 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9131, allocations: 310.8 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.9131, allocations: 3.938 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-06/0.9131, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.9132, allocations: 12.84 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9132, allocations: 8 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.049e-05/0.9132, allocations: 37.55 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.9133, allocations: 8 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9133, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9133, allocations: 3.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.413e-05/0.9133, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.9133, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.9134, allocations: 4 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.9134, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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 6.322e-05/0.9134, allocations: 117.9 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.9134, allocations: 0 / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.9135, allocations: 40.7 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9135, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.9135, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9136, allocations: 4 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.9136, allocations: 149.7 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.9137, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.9137, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9137, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.9137, allocations: 11.97 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9137, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9137, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.77e-05/0.9138, allocations: 53.12 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.9138, allocations: 77.11 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.9138, allocations: 11.94 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.9138, allocations: 0 / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.9139, allocations: 11.97 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.9139, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.9139, allocations: 75.28 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9139, allocations: 0 / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001964/0.9141, allocations: 12 kB / 1.212 GB, free: 9.828 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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.0001913/0.9143, allocations: 119.2 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.442e-05/0.9144, allocations: 4 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9144, allocations: 0 / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-06/0.9144, allocations: 4 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.9145, allocations: 5.812 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.9147, allocations: 106.6 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.9149, allocations: 0.6728 MB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.915, allocations: 11.38 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.915, allocations: 4.125 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.001739/0.9167, allocations: 0.5583 MB / 1.213 GB, free: 8.281 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches