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.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.0008404/0.0008404, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001004/0.001004, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9809/0.9809, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.393/2.393, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.182e-06/1.182e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.283e-05, allocations: 8.781 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001777/0.0018, allocations: 1.487 MB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.002104, allocations: 243 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.002118, allocations: 4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.002129, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.086e-05/0.00215, allocations: 7.875 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.002311, allocations: 47.88 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.002354, allocations: 23.92 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.002414, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.00246, allocations: 11.98 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.00249, allocations: 11.98 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.002496, allocations: 4 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.002597, allocations: 59.81 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.002609, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.009e-05/0.002619, allocations: 4 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.00273, allocations: 59.84 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002732, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002733, allocations: 3.938 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002736, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 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.0002711/0.003007, allocations: 240.9 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.003039, allocations: 16.61 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.921e-05/0.003058, allocations: 8.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.003135, allocations: 113.7 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.003144, allocations: 4.375 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.003152, allocations: 4.359 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.399e-05/0.003236, allocations: 50.95 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.003242, allocations: 192 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003248, allocations: 384 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003253, allocations: 384 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.003272, allocations: 11.92 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.003446, allocations: 148.3 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.522e-05/0.003481, allocations: 26.56 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.003493, allocations: 8.922 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.003717, allocations: 63.94 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.003736, allocations: 34.56 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.003736, allocations: 0 / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.245e-05/0.003819, allocations: 37.62 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.003849, allocations: 63.47 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/0.003892, allocations: 102.7 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.0039, allocations: 25.7 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.003926, allocations: 84.12 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.003941, allocations: 11.95 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.00396, allocations: 9.719 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.004036, allocations: 314.8 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-06/0.004042, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.004049, allocations: 3.984 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.629e-05/0.004065, allocations: 12.92 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.004066, allocations: 4 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.108e-05/0.004097, allocations: 37.62 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.004106, allocations: 8 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00411, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.00412, allocations: 0 / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-05/0.004158, allocations: 11.88 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.00416, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.004173, allocations: 4 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.004177, allocations: 3.984 kB / 0.8419 GB, free: 10.6 MB / 0.8073 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.595e-05/0.004223, allocations: 113.8 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.004235, allocations: 8 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.004285, allocations: 40.94 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-07/0.004286, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004288, allocations: 3.938 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-06/0.004289, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.464e-05/0.004353, allocations: 65.89 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.004355, allocations: 3.984 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.004369, allocations: 4 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.004369, allocations: 0 / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.004373, allocations: 4.031 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004374, allocations: 0 / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.004375, allocations: 4 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.798e-05/0.004433, allocations: 139.5 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-06/0.004437, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-06/0.004443, allocations: 192 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.004469, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.004493, allocations: 7.969 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.004494, allocations: 3.938 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.014e-05/0.004504, allocations: 12.8 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004504, allocations: 4.031 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001228/0.004627, allocations: 12 kB / 0.8423 GB, free: 10.12 MB / 0.8073 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.0001223/0.004749, allocations: 100.3 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.408e-05/0.004793, allocations: 20.84 kB / 0.8424 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004795, allocations: 0 / 0.8424 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.004808, allocations: 12.92 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.004911, allocations: 7.984 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.005075, allocations: 100.8 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.81e-05/0.005103, allocations: 55.36 kB / 0.8426 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.154e-05/0.005115, allocations: 3.984 kB / 0.8426 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.005146, allocations: 51.38 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of SimCode: time 2.91e-07/0.005147, allocations: 3.938 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of Templates: time 0.001936/0.007083, allocations: 0.7103 MB / 0.8434 GB, free: 9.012 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.283076098188758]