Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001497/0.001497, allocations: 112.8 kB / 17.08 MB, free: 5.988 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.001285/0.001286, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.4/1.4, 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 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.935/2.935, allocations: 489.3 MB / 0.7687 GB, free: 3.797 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 75.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00251/1.007, allocations: 1.432 MB / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000536/1.007, allocations: 253.8 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/1.007, allocations: 0.8438 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/1.007, allocations: 0.75 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/1.007, allocations: 8.875 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/1.008, allocations: 63.67 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/1.008, allocations: 23.06 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/1.008, allocations: 9.109 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/1.008, allocations: 8.156 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/1.008, allocations: 10.55 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/1.008, allocations: 2.375 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/1.008, allocations: 66.83 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/1.008, allocations: 1.266 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/1.008, allocations: 15.58 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/1.008, allocations: 61.42 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.009, allocations: 0.6562 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.009, allocations: 0 / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.009, allocations: 0 / 1.264 GB, free: 6.727 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.0004088/1.009, allocations: 342.9 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.009, allocations: 10.44 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/1.009, allocations: 5.828 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/1.009, allocations: 171.1 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/1.009, allocations: 2.109 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/1.009, allocations: 1.188 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/1.009, allocations: 52.8 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.009, allocations: 1.375 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.009, allocations: 3.938 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.009, allocations: 0.9375 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/1.01, allocations: 32.62 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/1.01, allocations: 246.5 kB / 1.265 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/1.01, allocations: 44.61 kB / 1.265 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/1.01, allocations: 28.03 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/1.011, allocations: 461.5 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/1.011, allocations: 36.52 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.011, allocations: 0 / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/1.011, allocations: 84.11 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/1.011, allocations: 52.83 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/1.011, allocations: 100.4 kB / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/1.011, allocations: 26.45 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/1.011, allocations: 81.72 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.011, allocations: 17.38 kB / 1.266 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/1.011, allocations: 12.98 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/1.011, allocations: 312.3 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/1.011, allocations: 22.67 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/1.011, allocations: 14.44 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/1.012, allocations: 36.58 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.012, allocations: 0.75 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/1.012, allocations: 74.78 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.012, allocations: 10.06 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/1.012, allocations: 0 / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.012, allocations: 0.875 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/1.012, allocations: 13.28 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.012, allocations: 0 / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/1.012, allocations: 6.812 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/1.012, allocations: 0.8125 kB / 1.267 GB, free: 4.531 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.621e-05/1.012, allocations: 115.9 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/1.012, allocations: 1.594 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/1.012, allocations: 71.14 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.012, allocations: 0.7188 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/1.012, allocations: 0.7188 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.012, allocations: 0.5156 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/1.013, allocations: 159.7 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.013, allocations: 0.875 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/1.013, allocations: 13.08 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.013, allocations: 0 / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/1.013, allocations: 0.9062 kB / 1.267 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.013, allocations: 5.312 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.013, allocations: 0 / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/1.013, allocations: 174.7 kB / 1.267 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/1.013, allocations: 78.64 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/1.013, allocations: 1.297 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/1.013, allocations: 5.75 kB / 1.267 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/1.013, allocations: 11.45 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/1.013, allocations: 1.219 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.337e-05/1.013, allocations: 83.11 kB / 1.267 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.013, allocations: 0 / 1.267 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000237/1.013, allocations: 14.7 kB / 1.267 GB, free: 3.836 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.0001801/1.013, allocations: 122.2 kB / 1.268 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002157/1.014, allocations: 39.52 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.014, allocations: 0 / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/1.014, allocations: 24.97 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/1.014, allocations: 7.938 kB / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/1.014, allocations: 126.3 kB / 1.268 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.668e-05/1.014, allocations: 0.6762 MB / 1.268 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/1.014, allocations: 8.406 kB / 1.268 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.014, allocations: 1.344 kB / 1.268 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of Templates: time 0.002875/1.017, allocations: 0.7734 MB / 1.269 GB, free: 2.824 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.95705148903653]