Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001004/0.001004, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001026/0.001026, allocations: 165 kB / 24.16 MB, free: 332 kB / 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.009/1.009, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.627e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00127/0.001286, allocations: 0.6643 MB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.001627, allocations: 171.8 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.197e-05/0.001639, allocations: 0 / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.001658, allocations: 3.938 kB / 0.7609 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.001665, allocations: 4 kB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.001943, allocations: 42.39 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.613e-05/0.001979, allocations: 5.438 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.002012, allocations: 0 / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.002042, allocations: 3.984 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.043e-05/0.002062, allocations: 0 / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.00207, allocations: 1.25 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.002233, allocations: 65.08 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.002245, allocations: 0.875 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.147e-05/0.002256, allocations: 4 kB / 0.761 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.315e-05/0.002349, allocations: 45.11 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.002351, allocations: 0 / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002351, allocations: 0.5469 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002355, allocations: 0.6875 kB / 0.7611 GB, free: 5.551 MB / 0.7136 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.0001795/0.002535, allocations: 216.7 kB / 0.7613 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.002566, allocations: 8.562 kB / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.002588, allocations: 6.469 kB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.892e-05/0.002647, allocations: 113.7 kB / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.002656, allocations: 1.656 kB / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-06/0.002661, allocations: 384 / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.199e-05/0.002723, allocations: 30.27 kB / 0.7614 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.002729, allocations: 1.406 kB / 0.7614 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.002734, allocations: 384 / 0.7614 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.00274, allocations: 384 / 0.7614 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.002749, allocations: 9.656 kB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.374e-05/0.002813, allocations: 57.05 kB / 0.7615 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.002848, allocations: 19.27 kB / 0.7615 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.002859, allocations: 8.953 kB / 0.7615 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.003149, allocations: 74.81 kB / 0.7616 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.003168, allocations: 30.56 kB / 0.7616 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.003169, allocations: 0 / 0.7616 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.904e-05/0.003248, allocations: 35.5 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.003273, allocations: 59.34 kB / 0.7617 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.291e-05/0.003296, allocations: 90.73 kB / 0.7618 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.003304, allocations: 25.7 kB / 0.7618 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.00332, allocations: 83.39 kB / 0.7619 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.003345, allocations: 0 / 0.7619 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.003363, allocations: 13.72 kB / 0.7619 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.003435, allocations: 318.8 kB / 0.7622 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.00344, allocations: 0 / 0.7622 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.003445, allocations: 0 / 0.7622 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.003468, allocations: 17.7 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.00347, allocations: 0 / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.021e-05/0.0035, allocations: 32.61 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.003511, allocations: 11.94 kB / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.003515, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.00353, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.003558, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.00356, allocations: 0 / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-06/0.003569, allocations: 4.812 kB / 0.7623 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.003574, allocations: 5.5 kB / 0.7623 GB, free: 4.168 MB / 0.7136 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 4.627e-05/0.00362, allocations: 113.8 kB / 0.7624 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-06/0.003623, allocations: 0 / 0.7624 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.00367, allocations: 38.14 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.003671, allocations: 0 / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.003672, allocations: 0 / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.003675, allocations: 0 / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.128e-05/0.003716, allocations: 72.31 kB / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.003716, allocations: 0 / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.00372, allocations: 0 / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.71e-07/0.003721, allocations: 0 / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-06/0.003724, allocations: 0.6562 kB / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003724, allocations: 7.938 kB / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.003725, allocations: 0.625 kB / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.748e-05/0.003763, allocations: 61.72 kB / 0.7626 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-06/0.003767, allocations: 4.844 kB / 0.7626 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-06/0.003773, allocations: 0 / 0.7626 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-06/0.003776, allocations: 0 / 0.7626 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.003786, allocations: 3.375 kB / 0.7626 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-07/0.003786, allocations: 0 / 0.7626 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.99e-06/0.003791, allocations: 4.859 kB / 0.7626 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003791, allocations: 0 / 0.7626 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001014/0.003893, allocations: 12 kB / 0.7626 GB, free: 3.809 MB / 0.7136 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.0001272/0.00402, allocations: 104.6 kB / 0.7627 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.542e-05/0.004065, allocations: 12.78 kB / 0.7627 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.004068, allocations: 4 kB / 0.7627 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.004074, allocations: 8.844 kB / 0.7627 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.489e-05/0.004119, allocations: 4.75 kB / 0.7627 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00013/0.004249, allocations: 82.77 kB / 0.7628 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.344e-05/0.004273, allocations: 52.42 kB / 0.7629 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.376e-06/0.004281, allocations: 0 / 0.7629 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.004307, allocations: 56.14 kB / 0.7629 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of SimCode: time 3.9e-07/0.004307, allocations: 0 / 0.7629 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.001826/0.006134, allocations: 482.6 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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: 4.881093083880842]