Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001031/0.001031, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001179/0.001179, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9621/0.9621, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.402/2.402, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.834e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00111/0.001128, allocations: 0.6139 MB / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.001499, allocations: 179.3 kB / 0.8906 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.001514, allocations: 0 / 0.8906 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.001528, allocations: 0 / 0.8906 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.001534, allocations: 0 / 0.8906 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.001855, allocations: 63.69 kB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.485e-05/0.00189, allocations: 4 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.00192, allocations: 0 / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.001945, allocations: 0 / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.913e-05/0.001964, allocations: 0 / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.001972, allocations: 4 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.002109, allocations: 55.92 kB / 0.8907 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.002122, allocations: 0 / 0.8907 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.062e-05/0.002133, allocations: 4 kB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.465e-05/0.002228, allocations: 47.86 kB / 0.8907 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.002229, allocations: 0 / 0.8907 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.22e-07/0.00223, allocations: 3.938 kB / 0.8907 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002233, allocations: 4 kB / 0.8907 GB, free: 8.738 MB / 0.8542 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.0002147/0.002448, allocations: 344.3 kB / 0.8911 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.002483, allocations: 12.61 kB / 0.8911 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.839e-05/0.002502, allocations: 1.281 kB / 0.8911 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.858e-05/0.00255, allocations: 108.6 kB / 0.8912 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.002557, allocations: 384 / 0.8912 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-06/0.002562, allocations: 384 / 0.8912 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.268e-05/0.002615, allocations: 30.27 kB / 0.8912 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.002622, allocations: 192 / 0.8912 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.002627, allocations: 384 / 0.8912 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.002631, allocations: 4.375 kB / 0.8912 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.052e-05/0.002642, allocations: 11.88 kB / 0.8912 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.935e-05/0.002721, allocations: 93.27 kB / 0.8913 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.002755, allocations: 27.05 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-06/0.002765, allocations: 7.688 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.003055, allocations: 80.02 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.003073, allocations: 37.39 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.003073, allocations: 0 / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 7.554e-05/0.003149, allocations: 37.59 kB / 0.8915 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.003168, allocations: 51.41 kB / 0.8916 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.377e-05/0.003202, allocations: 142.2 kB / 0.8917 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.003209, allocations: 25.7 kB / 0.8917 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.003235, allocations: 126.9 kB / 0.8918 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.003261, allocations: 7.984 kB / 0.8918 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.003283, allocations: 19.38 kB / 0.8919 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.003385, allocations: 0.4885 MB / 0.8923 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.00339, allocations: 4 kB / 0.8923 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-06/0.003394, allocations: 0 / 0.8923 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.003413, allocations: 11.67 kB / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003414, allocations: 0 / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.032e-05/0.003445, allocations: 37.64 kB / 0.8924 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.003455, allocations: 4 kB / 0.8924 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.003459, allocations: 3.984 kB / 0.8924 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.003466, allocations: 0 / 0.8924 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.00349, allocations: 8.031 kB / 0.8924 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.003492, allocations: 4 kB / 0.8924 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-06/0.003498, allocations: 0 / 0.8924 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.003502, allocations: 3.984 kB / 0.8924 GB, free: 6.836 MB / 0.8542 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 5.375e-05/0.003556, allocations: 156.5 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-06/0.00356, allocations: 4 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.003607, allocations: 48.62 kB / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-07/0.003608, allocations: 0 / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.00361, allocations: 0 / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.003613, allocations: 0 / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.062e-05/0.003663, allocations: 93.23 kB / 0.8927 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.003664, allocations: 4 kB / 0.8927 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.003669, allocations: 4 kB / 0.8927 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.00367, allocations: 0 / 0.8927 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-06/0.003673, allocations: 0 / 0.8927 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003673, allocations: 0 / 0.8927 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.003674, allocations: 0 / 0.8927 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.21e-05/0.003716, allocations: 72.38 kB / 0.8928 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-06/0.003719, allocations: 0 / 0.8928 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-06/0.003724, allocations: 0 / 0.8928 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-06/0.003728, allocations: 4 kB / 0.8928 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-06/0.003736, allocations: 4.031 kB / 0.8928 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-07/0.003736, allocations: 0 / 0.8928 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.003763, allocations: 123.1 kB / 0.8929 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.003763, allocations: 0 / 0.8929 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001313/0.003894, allocations: 23.92 kB / 0.8929 GB, free: 6.242 MB / 0.8542 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.0001108/0.004005, allocations: 107.2 kB / 0.893 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.92e-05/0.004044, allocations: 19.67 kB / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.004046, allocations: 0 / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.004051, allocations: 7.688 kB / 0.8931 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.967e-05/0.004131, allocations: 7.938 kB / 0.8931 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001163/0.004247, allocations: 83.94 kB / 0.8931 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.27e-05/0.00427, allocations: 55.38 kB / 0.8932 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.653e-06/0.004276, allocations: 0 / 0.8932 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.004302, allocations: 66.2 kB / 0.8933 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of SimCode: time 3.5e-07/0.004303, allocations: 3.938 kB / 0.8933 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of Templates: time 0.001521/0.005823, allocations: 0.4906 MB / 0.8937 GB, free: 5.336 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.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.257041675969958]