Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 116.4 kB / 17.08 MB, free: 5.977 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.001615/0.001615, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002416/1.077, allocations: 1.438 MB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005044/1.077, allocations: 248 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/1.077, allocations: 0.9375 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/1.077, allocations: 4.594 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/1.077, allocations: 8.797 kB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/1.078, allocations: 53.52 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/1.078, allocations: 24.25 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/1.078, allocations: 3.844 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/1.078, allocations: 17.2 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/1.078, allocations: 9.953 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/1.078, allocations: 1.656 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/1.078, allocations: 57.97 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/1.078, allocations: 5.328 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/1.078, allocations: 11.52 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/1.078, allocations: 56.53 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.078, allocations: 0 / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/1.078, allocations: 0 / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.078, allocations: 1.234 kB / 1.264 GB, free: 6.73 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.0003966/1.079, allocations: 342.6 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.079, allocations: 9.062 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/1.079, allocations: 6.391 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.49e-05/1.079, allocations: 167.9 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/1.079, allocations: 0.9688 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/1.079, allocations: 5.656 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.079, allocations: 49.02 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.079, allocations: 1.094 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/1.079, allocations: 3.938 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.079, allocations: 0.7812 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/1.079, allocations: 32.78 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/1.08, allocations: 250.7 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/1.08, allocations: 40.12 kB / 1.265 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/1.08, allocations: 23.69 kB / 1.265 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/1.08, allocations: 458.4 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/1.08, allocations: 35.34 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.08, allocations: 0.8438 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/1.081, allocations: 83.81 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/1.081, allocations: 56.8 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/1.081, allocations: 104.1 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/1.081, allocations: 30.98 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/1.081, allocations: 86.33 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/1.081, allocations: 8.734 kB / 1.266 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/1.081, allocations: 13.16 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/1.081, allocations: 316.5 kB / 1.266 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/1.081, allocations: 14.41 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/1.081, allocations: 22.48 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/1.081, allocations: 36.52 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.081, allocations: 0.7812 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/1.082, allocations: 71.03 kB / 1.267 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.082, allocations: 9.828 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.082, allocations: 4 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.082, allocations: 0.7188 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/1.082, allocations: 8.906 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.082, allocations: 0.7969 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/1.082, allocations: 5.609 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.082, allocations: 2.203 kB / 1.267 GB, free: 4.535 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.669e-05/1.082, allocations: 111.3 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.082, allocations: 10.11 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/1.082, allocations: 66.77 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/1.082, allocations: 1.453 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.082, allocations: 0 / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.082, allocations: 5.516 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/1.082, allocations: 163.5 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.082, allocations: 0 / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/1.082, allocations: 9.328 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/1.082, allocations: 4.031 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/1.082, allocations: 0.75 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.082, allocations: 1.469 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.082, allocations: 0 / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/1.083, allocations: 167.1 kB / 1.267 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/1.083, allocations: 83.5 kB / 1.267 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/1.083, allocations: 4.031 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/1.083, allocations: 6.172 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/1.083, allocations: 2.234 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.083, allocations: 1.828 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.235e-05/1.083, allocations: 83.17 kB / 1.267 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.083, allocations: 0 / 1.267 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002259/1.083, allocations: 13.98 kB / 1.267 GB, free: 3.844 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.0001718/1.083, allocations: 122.7 kB / 1.267 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/1.083, allocations: 35.47 kB / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.083, allocations: 0 / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/1.083, allocations: 25.23 kB / 1.268 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/1.084, allocations: 14.72 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/1.084, allocations: 129.5 kB / 1.268 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/1.084, allocations: 0.6755 MB / 1.268 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/1.084, allocations: 9.562 kB / 1.268 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.084, allocations: 4.656 kB / 1.268 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.002612/1.087, allocations: 0.7705 MB / 1.269 GB, free: 2.82 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.086787652922794]