Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 106.6 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 192.4 kB / 21.34 MB, free: 0.8359 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7634 GB, free: 15.32 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.88 kB / 1.108 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002767/1.173, allocations: 1.441 MB / 1.274 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005451/1.173, allocations: 248.1 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/1.173, allocations: 0.7188 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/1.173, allocations: 4.734 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/1.173, allocations: 4.812 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/1.174, allocations: 54.17 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/1.174, allocations: 27.91 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/1.174, allocations: 3.906 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/1.174, allocations: 12 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/1.174, allocations: 10.17 kB / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/1.174, allocations: 2.719 kB / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/1.174, allocations: 61.94 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/1.174, allocations: 4.844 kB / 1.274 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/1.174, allocations: 16 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/1.174, allocations: 45.23 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.174, allocations: 4 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.82e-07/1.174, allocations: 0.875 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.174, allocations: 3.938 kB / 1.274 GB, free: 6.66 MB / 0.9981 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.0004205/1.175, allocations: 343.1 kB / 1.275 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.175, allocations: 9.625 kB / 1.275 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/1.175, allocations: 6.734 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/1.175, allocations: 168.1 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/1.175, allocations: 5.438 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/1.175, allocations: 13.16 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/1.175, allocations: 43.44 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.175, allocations: 0.9844 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.175, allocations: 7.938 kB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.175, allocations: 0.9062 kB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/1.175, allocations: 32.39 kB / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/1.176, allocations: 255.4 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/1.176, allocations: 41.3 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/1.176, allocations: 18.92 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/1.176, allocations: 458.4 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/1.176, allocations: 31.38 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.176, allocations: 0 / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003394/1.177, allocations: 86.69 kB / 1.276 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/1.177, allocations: 54.22 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/1.177, allocations: 100.1 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/1.177, allocations: 29.7 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/1.177, allocations: 81.14 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/1.177, allocations: 10.69 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/1.177, allocations: 11.66 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/1.177, allocations: 317.8 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/1.177, allocations: 13.67 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/1.177, allocations: 22.5 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/1.177, allocations: 39 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.177, allocations: 0 / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/1.177, allocations: 70.45 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.177, allocations: 5.781 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.178, allocations: 4.094 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.178, allocations: 0.7188 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/1.178, allocations: 7.562 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/1.178, allocations: 1.188 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/1.178, allocations: 7.844 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/1.178, allocations: 1 kB / 1.276 GB, free: 4.469 MB / 0.9981 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.615e-05/1.178, allocations: 114.7 kB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/1.178, allocations: 1.812 kB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/1.178, allocations: 77.44 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.178, allocations: 4.781 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.178, allocations: 0 / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.178, allocations: 0.8125 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/1.178, allocations: 157.2 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.178, allocations: 4 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/1.178, allocations: 10.17 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.178, allocations: 0.7188 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/1.178, allocations: 7.969 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.178, allocations: 0.8125 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.178, allocations: 0.8125 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/1.178, allocations: 166.2 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/1.178, allocations: 80.73 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/1.178, allocations: 5.062 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/1.178, allocations: 10 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/1.178, allocations: 10.02 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/1.178, allocations: 0 / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.203e-05/1.178, allocations: 80.67 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.178, allocations: 0 / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002487/1.179, allocations: 13.47 kB / 1.277 GB, free: 3.762 MB / 0.9981 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.0001846/1.179, allocations: 119.5 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000214/1.179, allocations: 35.16 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.179, allocations: 0.6562 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/1.179, allocations: 19.92 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/1.18, allocations: 11.22 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/1.18, allocations: 133.4 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/1.18, allocations: 0.6763 MB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/1.18, allocations: 13.44 kB / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.18, allocations: 0 / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of Templates: time 0.0028/1.183, allocations: 0.7709 MB / 1.279 GB, free: 2.754 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches