Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001817/0.001817, allocations: 110 kB / 18.93 MB, free: 2.945 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.002053/0.002053, allocations: 189.1 kB / 22.23 MB, free: 5.16 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.498/1.498, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7646 GB, free: 9.852 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 1.11 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8206, allocations: 168.8 MB / 1.274 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001832/0.8224, allocations: 0.586 MB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.8229, allocations: 203.3 kB / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.084e-05/0.8229, allocations: 0 / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.823, allocations: 0 / 1.275 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.823, allocations: 4 kB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.8233, allocations: 53.08 kB / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.231e-05/0.8234, allocations: 0 / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.8234, allocations: 15.98 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.8234, allocations: 0 / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.249e-05/0.8235, allocations: 0 / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.8235, allocations: 3.938 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.8237, allocations: 59.88 kB / 1.275 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.8237, allocations: 4 kB / 1.275 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.8237, allocations: 0 / 1.275 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.8238, allocations: 35.59 kB / 1.275 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8238, allocations: 0 / 1.275 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8238, allocations: 0 / 1.275 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8238, allocations: 0 / 1.275 GB, free: 3.23 MB / 0.9669 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.0003081/0.8241, allocations: 257 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.8242, allocations: 8.031 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.8242, allocations: 0.9375 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.8243, allocations: 106.5 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.8243, allocations: 384 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.8243, allocations: 384 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.8244, allocations: 26.27 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8244, allocations: 4.188 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.8244, allocations: 3.938 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8244, allocations: 4 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.8244, allocations: 0 / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.8246, allocations: 132.7 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.8246, allocations: 18.52 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.8246, allocations: 4.859 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.8252, allocations: 79.98 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.8252, allocations: 38.48 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.8252, allocations: 0 / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.8254, allocations: 37.64 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.8254, allocations: 59.28 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.8255, allocations: 89.98 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.8255, allocations: 29.7 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.8256, allocations: 84.14 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.8256, allocations: 0 / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.8256, allocations: 13.72 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.8258, allocations: 314.8 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.8258, allocations: 0 / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.8258, allocations: 0 / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.8258, allocations: 12.92 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8258, allocations: 0 / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.493e-05/0.8259, allocations: 37.64 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8259, allocations: 8 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8259, allocations: 0 / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.8259, allocations: 3.938 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-05/0.8259, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8259, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.826, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.826, allocations: 7.984 kB / 1.277 GB, free: 1.691 MB / 0.9669 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 7.892e-05/0.826, allocations: 109.9 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-06/0.826, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.8261, allocations: 40.64 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.8261, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8261, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.8261, allocations: 4 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.523e-05/0.8262, allocations: 116.8 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8262, allocations: 0 / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.8262, allocations: 3.938 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8262, allocations: 8.031 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.8263, allocations: 3.938 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.8263, allocations: 0 / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8263, allocations: 0 / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.085e-05/0.8263, allocations: 61.11 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.8263, allocations: 4 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.8264, allocations: 3.938 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.8264, allocations: 8.031 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.8264, allocations: 3.938 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.8264, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.8264, allocations: 75.28 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8264, allocations: 3.938 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002111/0.8266, allocations: 12 kB / 1.277 GB, free: 1.164 MB / 0.9669 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.0002506/0.8269, allocations: 123.2 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.8269, allocations: 7.938 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8269, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.8269, allocations: 3.984 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.8271, allocations: 8 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.8272, allocations: 76.86 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.8275, allocations: 0.669 MB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.434e-05/0.8276, allocations: 8.125 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.8276, allocations: 7.438 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.8276, allocations: 0 / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of Templates: time 0.002526/0.8301, allocations: 418 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 8.709281397983432]