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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009217/0.0009217, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008058/0.0008058, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.622/1.622, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.938e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00166/0.00168, allocations: 1.455 MB / 0.9532 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.002063, allocations: 227.2 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.002086, allocations: 4 kB / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.00211, allocations: 0 / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.002143, allocations: 4 kB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.002431, allocations: 63.69 kB / 0.9534 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.002486, allocations: 23.92 kB / 0.9535 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.426e-05/0.00257, allocations: 7.938 kB / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.002614, allocations: 11.98 kB / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.002644, allocations: 11.98 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.002653, allocations: 0 / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.002762, allocations: 63.81 kB / 0.9536 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.002773, allocations: 4 kB / 0.9536 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.002789, allocations: 8 kB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.002908, allocations: 59.83 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.002911, allocations: 4 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.91e-07/0.002912, allocations: 0 / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.002916, allocations: 4 kB / 0.9536 GB, free: 1.035 MB / 0.9011 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.0003072/0.003223, allocations: 262.3 kB / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.003254, allocations: 11.97 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.003279, allocations: 4.938 kB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.003351, allocations: 113.7 kB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.003359, allocations: 4.375 kB / 0.954 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.003367, allocations: 4.375 kB / 0.954 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003479, allocations: 50.17 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.003485, allocations: 192 / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.003492, allocations: 4.375 kB / 0.9541 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.003496, allocations: 384 / 0.9541 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.003577, allocations: 35.89 kB / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.003793, allocations: 188.6 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.003867, allocations: 46.53 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.003905, allocations: 20.91 kB / 0.9543 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.004175, allocations: 67.92 kB / 0.9544 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.004193, allocations: 38.56 kB / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004194, allocations: 0 / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.004391, allocations: 81.58 kB / 0.9545 GB, free: 0 / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.00442, allocations: 55.45 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.101e-05/0.004471, allocations: 101.8 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004482, allocations: 25.7 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.004519, allocations: 84.08 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.004534, allocations: 8.562 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.004556, allocations: 17.84 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.004626, allocations: 318.8 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.004664, allocations: 15.98 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.004697, allocations: 15.98 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.004769, allocations: 40.81 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00477, allocations: 0 / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.296e-05/0.004863, allocations: 69.69 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.004872, allocations: 4 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004877, allocations: 7.875 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.004887, allocations: 0 / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.004937, allocations: 16.11 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.004942, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.004963, allocations: 7.984 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.004967, allocations: 0 / 0.9553 GB, free: 15.17 MB / 0.9167 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.76e-05/0.005014, allocations: 121.8 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.005026, allocations: 3.984 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.005139, allocations: 68.91 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.005141, allocations: 0 / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005144, allocations: 4 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005146, allocations: 0 / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.898e-05/0.005225, allocations: 105.3 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.005226, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.005247, allocations: 12.02 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.005248, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005254, allocations: 4 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005255, allocations: 3.938 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005257, allocations: 3.938 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.005372, allocations: 159.5 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.005377, allocations: 3.953 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.005388, allocations: 4 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.005423, allocations: 11.95 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.00545, allocations: 4 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.005452, allocations: 0 / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.566e-05/0.005478, allocations: 87.27 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005478, allocations: 0 / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001499/0.005628, allocations: 15.94 kB / 0.9559 GB, free: 14.51 MB / 0.9167 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.0001274/0.005755, allocations: 123.2 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.005866, allocations: 39.89 kB / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005868, allocations: 0 / 0.956 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.005908, allocations: 19.98 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.006063, allocations: 4 kB / 0.956 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.006261, allocations: 130.5 kB / 0.9562 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.006298, allocations: 63.47 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.006321, allocations: 12.5 kB / 0.9562 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.006321, allocations: 0 / 0.9562 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of Templates: time 0.001489/0.00781, allocations: 0.7862 MB / 0.957 GB, free: 13.27 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 6.454652433283627]