Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.001731/0.001731, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001574/0.001574, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.446/1.446, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.836/2.836, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8109 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.629e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001706/0.001732, allocations: 0.5949 MB / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005138/0.002246, allocations: 176.2 kB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.00226, allocations: 4 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.002271, allocations: 0.9688 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.002277, allocations: 0 / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.002684, allocations: 61.38 kB / 0.8117 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.613e-05/0.00272, allocations: 0 / 0.8117 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.002754, allocations: 4 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.176e-05/0.002776, allocations: 0 / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.269e-05/0.002798, allocations: 0 / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.002808, allocations: 1.531 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.002994, allocations: 55.94 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.003007, allocations: 3.984 kB / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.003027, allocations: 0 / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.003167, allocations: 49.19 kB / 0.8118 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003168, allocations: 4 kB / 0.8118 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003169, allocations: 0 / 0.8118 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003173, allocations: 0 / 0.8118 GB, free: 1.145 MB / 0.7605 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.0003283/0.003502, allocations: 236.2 kB / 0.812 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.00354, allocations: 15.97 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.00358, allocations: 0.9375 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.003689, allocations: 109.8 kB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003701, allocations: 1.531 kB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.00371, allocations: 4.375 kB / 0.8121 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.003804, allocations: 26.27 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003811, allocations: 1.281 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.00382, allocations: 384 / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.003824, allocations: 384 / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.00385, allocations: 12.72 kB / 0.8122 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.003989, allocations: 97.31 kB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.004039, allocations: 20.8 kB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.00406, allocations: 8.859 kB / 0.8123 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/0.004701, allocations: 73.22 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.004741, allocations: 34.56 kB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.004742, allocations: 4.5 kB / 0.8124 GB, free: 416 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.004891, allocations: 39.22 kB / 0.8124 GB, free: 372 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.004936, allocations: 51.41 kB / 0.8125 GB, free: 308 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.004994, allocations: 89.86 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.005011, allocations: 25.7 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.005059, allocations: 84.75 kB / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.005081, allocations: 0.875 kB / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.005112, allocations: 13.72 kB / 0.8127 GB, free: 68 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.005311, allocations: 322.8 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.00532, allocations: 0.5 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.00533, allocations: 4.656 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.005359, allocations: 5.484 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.005363, allocations: 4.812 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.546e-05/0.005429, allocations: 37.62 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.005443, allocations: 4.938 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005447, allocations: 0 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.005463, allocations: 1.219 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-05/0.005501, allocations: 4 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005505, allocations: 0 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.005518, allocations: 4.906 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.005522, allocations: 0 / 0.8131 GB, free: 15.67 MB / 0.7761 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 9.076e-05/0.005613, allocations: 120.1 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.00562, allocations: 0 / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.72e-05/0.005708, allocations: 44.62 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005709, allocations: 0 / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005713, allocations: 0 / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005715, allocations: 0 / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.618e-05/0.005811, allocations: 104.6 kB / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005812, allocations: 0 / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.005827, allocations: 3.984 kB / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.005829, allocations: 0 / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.005833, allocations: 0 / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005835, allocations: 0 / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005836, allocations: 4 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.005926, allocations: 57.08 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.005936, allocations: 7.953 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.005948, allocations: 4.984 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.005955, allocations: 0 / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.005966, allocations: 0 / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.005968, allocations: 0.5 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.006013, allocations: 79.78 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006013, allocations: 0 / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002241/0.006237, allocations: 16.5 kB / 0.8135 GB, free: 15.18 MB / 0.7761 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.0002156/0.006453, allocations: 129.3 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.006513, allocations: 5.062 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006515, allocations: 0 / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.006521, allocations: 1.094 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.006653, allocations: 4 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.006862, allocations: 71 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.006921, allocations: 59.34 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.528e-06/0.006931, allocations: 0.5625 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.006954, allocations: 9.531 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.006954, allocations: 0 / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.003046/0.01, allocations: 444.3 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.564494434045628]