Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001793, allocations: 111.3 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 197.1 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002659/0.3249, allocations: 1.43 MB / 1.177 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005546/0.3255, allocations: 260 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.3256, allocations: 0 / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.3256, allocations: 0 / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.3257, allocations: 3.938 kB / 1.177 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.326, allocations: 71.8 kB / 1.178 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.3261, allocations: 16 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.3262, allocations: 7.984 kB / 1.178 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.3262, allocations: 11.94 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.3263, allocations: 11.92 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3263, allocations: 0 / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3264, allocations: 67.86 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.3265, allocations: 4 kB / 1.178 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.3265, allocations: 11.94 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.3267, allocations: 47.86 kB / 1.178 GB, free: 3.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3267, allocations: 4 kB / 1.178 GB, free: 3.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3267, allocations: 3.938 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3267, allocations: 0 / 1.178 GB, free: 3.953 MB / 0.92 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.0005325/0.3272, allocations: 351.3 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3273, allocations: 12.03 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3273, allocations: 0.9375 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3275, allocations: 164.3 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3275, allocations: 8.312 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.3275, allocations: 4.312 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3277, allocations: 54.23 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3277, allocations: 192 / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3277, allocations: 3.938 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3277, allocations: 3.984 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3279, allocations: 35.95 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3283, allocations: 252.9 kB / 1.179 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3284, allocations: 34.5 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3285, allocations: 24.89 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.3293, allocations: 465.5 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3294, allocations: 30.56 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3294, allocations: 0 / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.3297, allocations: 85.58 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3298, allocations: 51.41 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.3299, allocations: 97.98 kB / 1.179 GB, free: 2.023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3299, allocations: 25.7 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.33, allocations: 84.14 kB / 1.179 GB, free: 1.906 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.33, allocations: 11.94 kB / 1.179 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.33, allocations: 9.719 kB / 1.179 GB, free: 1.879 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3302, allocations: 314.8 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.3303, allocations: 15.98 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.3304, allocations: 19.98 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3305, allocations: 40.81 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3306, allocations: 0 / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002207/0.3308, allocations: 73.48 kB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3308, allocations: 8 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3308, allocations: 8.094 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3308, allocations: 0 / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.3309, allocations: 8 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3309, allocations: 3.984 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.331, allocations: 4 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.331, allocations: 0 / 1.18 GB, free: 1.375 MB / 0.92 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 8.401e-05/0.3311, allocations: 113.8 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3311, allocations: 4 kB / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3314, allocations: 76.7 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3314, allocations: 3.938 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3314, allocations: 0 / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3314, allocations: 0 / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3316, allocations: 157.6 kB / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3316, allocations: 0 / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.3316, allocations: 11.98 kB / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3317, allocations: 0 / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3317, allocations: 7.969 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3317, allocations: 0 / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3317, allocations: 0 / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3319, allocations: 163.5 kB / 1.18 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.332, allocations: 89 kB / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.332, allocations: 0 / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.3321, allocations: 12.02 kB / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.3321, allocations: 0 / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3321, allocations: 0 / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.3322, allocations: 87.27 kB / 1.181 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3322, allocations: 0 / 1.181 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002401/0.3324, allocations: 15.94 kB / 1.181 GB, free: 0.5469 MB / 0.92 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.0002178/0.3327, allocations: 127.2 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3329, allocations: 31.97 kB / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3329, allocations: 0 / 1.181 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.333, allocations: 19.98 kB / 1.181 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3333, allocations: 7.922 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.3336, allocations: 135.2 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3339, allocations: 0.6768 MB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.334, allocations: 11.44 kB / 1.182 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.334, allocations: 0 / 1.182 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of Templates: time 0.002693/0.3367, allocations: 0.7749 MB / 1.182 GB, free: 14.7 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.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: 10.486576377064921]