Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001652/0.001652, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001814/0.001814, allocations: 186.7 kB / 20.78 MB, free: 1.543 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.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 1.107 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.021, allocations: 168.7 MB / 1.272 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001623/1.023, allocations: 0.5977 MB / 1.273 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004616/1.024, allocations: 196.3 kB / 1.273 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/1.024, allocations: 0.75 kB / 1.273 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/1.024, allocations: 4 kB / 1.273 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/1.024, allocations: 0 / 1.273 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/1.024, allocations: 52.86 kB / 1.273 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.821e-05/1.024, allocations: 9.641 kB / 1.273 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/1.024, allocations: 1.656 kB / 1.273 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.316e-05/1.024, allocations: 0.8438 kB / 1.273 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/1.024, allocations: 0.6562 kB / 1.273 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/1.024, allocations: 4.719 kB / 1.273 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/1.024, allocations: 57.77 kB / 1.273 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/1.024, allocations: 0.9688 kB / 1.273 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/1.024, allocations: 7.938 kB / 1.273 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/1.024, allocations: 39.36 kB / 1.273 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.024, allocations: 0 / 1.273 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/1.024, allocations: 0.8125 kB / 1.273 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.024, allocations: 0.7031 kB / 1.273 GB, free: 7.582 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002513/1.025, allocations: 319.2 kB / 1.273 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.025, allocations: 13.88 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/1.025, allocations: 2.062 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.511e-05/1.025, allocations: 161.7 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/1.025, allocations: 4.375 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/1.025, allocations: 5.188 kB / 1.273 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.611e-05/1.025, allocations: 28.78 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.025, allocations: 1.562 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/1.025, allocations: 3.938 kB / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/1.025, allocations: 0 / 1.273 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/1.025, allocations: 6.266 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.594e-05/1.025, allocations: 148.6 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/1.025, allocations: 20.92 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/1.025, allocations: 5.641 kB / 1.274 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006584/1.026, allocations: 466.5 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/1.026, allocations: 32 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/1.026, allocations: 4 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/1.026, allocations: 39.95 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/1.026, allocations: 52.06 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.754e-05/1.026, allocations: 90.58 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/1.026, allocations: 25.7 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.096e-05/1.026, allocations: 81.56 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/1.026, allocations: 4.594 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/1.026, allocations: 15.92 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/1.026, allocations: 320.6 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/1.026, allocations: 0.7188 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-06/1.026, allocations: 1.312 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/1.026, allocations: 8.766 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.026, allocations: 0 / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.409e-05/1.026, allocations: 36.09 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.026, allocations: 5.625 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.026, allocations: 0 / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.026, allocations: 9.594 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/1.026, allocations: 1.5 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.026, allocations: 0 / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/1.026, allocations: 1.562 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/1.026, allocations: 0.8438 kB / 1.275 GB, free: 5.523 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 (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.411e-05/1.026, allocations: 111.6 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/1.026, allocations: 0.7812 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/1.026, allocations: 39.06 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.026, allocations: 8.719 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.026, allocations: 1.156 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.026, allocations: 0.7969 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.603e-05/1.026, allocations: 152 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.026, allocations: 0 / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/1.026, allocations: 2.5 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.026, allocations: 0.9375 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.026, allocations: 4.5 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.026, allocations: 0.9375 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.026, allocations: 4 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.448e-05/1.027, allocations: 57.73 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/1.027, allocations: 81.91 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/1.027, allocations: 5.359 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/1.027, allocations: 0 / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/1.027, allocations: 5.391 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/1.027, allocations: 0.8125 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.507e-05/1.027, allocations: 75.8 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.027, allocations: 4.719 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002099/1.027, allocations: 15.02 kB / 1.275 GB, free: 4.902 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 (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.0002028/1.027, allocations: 126.1 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/1.027, allocations: 3.734 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.027, allocations: 0 / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/1.027, allocations: 6.578 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/1.027, allocations: 4.75 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/1.027, allocations: 98.14 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/1.027, allocations: 0.6714 MB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.04e-05/1.027, allocations: 1.094 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.015e-05/1.027, allocations: 7.438 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.027, allocations: 1.031 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of Templates: time 0.002626/1.03, allocations: 421.6 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.84871106594801]